本文档说明如何从一个唯一的 Ed25519 私钥(如 Mixin Bot 私钥),统一派生出多链的地址与私钥,以实现自动化资产管理与跨链操作。
- Mixin Bot 的 Ed25519 私钥(64字节,Base64或Hex格式)
How to deploy confidential containers on bare metal: https://developers.redhat.com/articles/2025/02/19/how-deploy-confidential-containers-bare-metal#helper_script_for_deploying_confidential_containers_
Intel® Trust Domain Extensions (Intel® TDX): https://www.intel.com/content/www/us/en/developer/tools/trust-domain-extensions/overview.html
An Introduction to Basic Confidential Containers Computing demo: https://www.youtube.com/watch?v=rhPraqkttdM
Centos TDX: https://sigs.centos.org/virt/tdx/
This is the first time we’re integrating an exchange on the Mixin network into CCXT, but the process is actually more straightforward than expected.
CCXT started as an SDK to simplify connecting to various centralized exchanges. However, with the recent addition of Hyperliquid—a decentralized exchange on an EVM network—CCXT is expanding its reach, paving the way for more DEX integrations across different networks.
To add a new exchange to CCXT, we create a file under /ts/src/
named [exchange-name].ts
. This file defines the methods available when initializing an instance of the exchange. It inherits the base class in /ts/src/base/Exchange.ts
, which contains all possible methods for an exchange. We implement only the necessary ones for the new exchange in the new file.
{ | |
"code":0, | |
"success":true, | |
"message":"", | |
"data":[ | |
{ | |
"buyMaxInvestment":1, | |
"buyMaxDelayInvestment":1, | |
"canBuyInvestment":true, | |
"canBuyDelayInvestment":true, |
import axios from "axios"; | |
import { hashMembers } from "@mixin.dev/mixin-node-sdk"; | |
export const mixinAsset = async (asset_id: string) => { | |
const result = await axios | |
.get(MIXIN_API_BASE_URL + `/network/assets/${asset_id}`); | |
return result.data ? result.data.data : {}; | |
} |
<script lang="ts"> | |
import clsx from "clsx"; | |
import { _ } from "svelte-i18n"; | |
import { locale } from "svelte-i18n"; | |
import colors from "tailwindcss/colors"; | |
import { ColorType } from "lightweight-charts"; | |
import { Chart, LineSeries } from "svelte-lightweight-charts"; | |
import { ChartPrice, showCoinPrice } from "$lib/stores/market"; | |
let innerWidth = 0, |
// sol inscription | |
// change secret to yours | |
// change rpc is needed | |
// change public key and data | |
const { Connection, Keypair, PublicKey, sendAndConfirmTransaction, Transaction, TransactionInstruction } = require("@solana/web3.js"); | |
const bs58 = require("bs58"); | |
var secret = "" |
// Change RPC and data for different network and different inscription | |
// Change privateKey to yours | |
// data is hex encoded string | |
// use [email protected] | |
import { ethers } from "ethers"; | |
import { BigNumber } from "bignumber.js"; | |
// Replace with your own private key | |
const privateKey = ""; |
package main | |
import ( | |
"crypto/sha256" | |
"encoding/base64" | |
"encoding/hex" | |
"fmt" | |
"time" | |
"github.com/fox-one/mixin-sdk-go" |
package main | |
import ( | |
"crypto/sha256" | |
"encoding/hex" | |
"github.com/dgrijalva/jwt-go" | |
"golang.org/x/crypto/ed25519" | |
"github.com/google/uuid" | |
"encoding/base64" | |
"fmt" |