Directories
¶
| Path | Synopsis |
|---|---|
|
Package admin provides methods to sign message and to verify signed message
|
Package admin provides methods to sign message and to verify signed message |
|
Package build provide customized methods to build project.
|
Package build provide customized methods to build project. |
|
cmd
|
|
|
swaprouter
command
Command swaprouter is main program to start swap router or its sub commands.
|
Command swaprouter is main program to start swap router or its sub commands. |
|
utils
Package utils provides common sub commands and command flags.
|
Package utils provides common sub commands and command flags. |
|
Package common contains various helper functions.
|
Package common contains various helper functions. |
|
hexutil
Package hexutil implements hex encoding with 0x prefix.
|
Package hexutil implements hex encoding with 0x prefix. |
|
math
Package math provides integer math utilities.
|
Package math provides integer math utilities. |
|
internal
|
|
|
build
Package build - build tools nolint
|
Package build - build tools nolint |
|
Package leveldb - leveldb wrapper nolint
|
Package leveldb - leveldb wrapper nolint |
|
Package log is a wrapper of logrus.
|
Package log is a wrapper of logrus. |
|
Package mongodb is a wrapper of mongo-go-driver that defines the collections and CRUD apis on them.
|
Package mongodb is a wrapper of mongo-go-driver that defines the collections and CRUD apis on them. |
|
Package mpc is a client of mpc server, doing the sign and accept tasks.
|
Package mpc is a client of mpc server, doing the sign and accept tasks. |
|
Package params provides common version info and config items.
|
Package params provides common version info and config items. |
|
Package router inits bridges and loads onchain configs.
|
Package router inits bridges and loads onchain configs. |
|
bridge
Package bridge init router bridge and load / reload configs.
|
Package bridge init router bridge and load / reload configs. |
|
rpc
|
|
|
client
Package client provides methods to do http GET / POST request.
|
Package client provides methods to do http GET / POST request. |
|
restapi
Package restapi provides RESTful RPC service.
|
Package restapi provides RESTful RPC service. |
|
rpcapi
Package rpcapi provides JSON RPC service.
|
Package rpcapi provides JSON RPC service. |
|
server
Package server provides JSON/RESTful RPC service.
|
Package server provides JSON/RESTful RPC service. |
|
Package tokens defines the common interfaces and supported bridges in sub directories.
|
Package tokens defines the common interfaces and supported bridges in sub directories. |
|
aptos/tools/calcTxhashTest
command
|
|
|
aptos/tools/configCoin
command
|
|
|
aptos/tools/deployModule
command
|
|
|
aptos/tools/deposit
command
|
|
|
aptos/tools/eventlog
command
|
|
|
aptos/tools/getStubChainID
command
|
|
|
aptos/tools/issueCoin
command
|
|
|
aptos/tools/mintCoin
command
|
|
|
aptos/tools/publicKeyToAddress
command
|
|
|
aptos/tools/registerCoin
command
|
|
|
aptos/tools/registerMintCoin
command
|
|
|
aptos/tools/registerPoolCoin
command
|
|
|
aptos/tools/setPoolcoinCap
command
|
|
|
aptos/tools/setStatus
command
|
|
|
aptos/tools/setUnderlyingCap
command
|
|
|
aptos/tools/setupAnyCoin
command
|
|
|
aptos/tools/swapin
command
|
|
|
aptos/tools/swapout
command
|
|
|
aptos/tools/transfer
command
|
|
|
aptos/tools/withdraw
command
|
|
|
aptos/tweetnacl
tweetnacl-go is a port of Dan Bernstein's "crypto library in a 100 tweets" code to the Go language.
|
tweetnacl-go is a port of Dan Bernstein's "crypto library in a 100 tweets" code to the Go language. |
|
btc/tools/getStubChainID
command
|
|
|
btc/tools/pubKeyToAddress
command
|
|
|
btc/tools/wifToEcPrivKey
command
|
|
|
cardano/tools/getStubChainID
command
|
|
|
cardano/tools/queryUtxos
command
|
|
|
cardano/tools/scan
command
|
|
|
cardano/tools/sendTransaction
command
|
|
|
cosmos/tools/getStubChainID
command
|
|
|
cosmos/tools/publicKeyToAddress
command
|
|
|
cosmos/tools/scan
command
|
|
|
cosmos/tools/sendToken
command
|
|
|
cosmos/tools/verifyAddress
command
|
|
|
eth
Package eth implements the bridge interfaces to support routering.
|
Package eth implements the bridge interfaces to support routering. |
|
eth/abicoder
Package abicoder is simple tool to pack datas like solidity abi.
|
Package abicoder is simple tool to pack datas like solidity abi. |
|
near/tools/deployContract
command
|
|
|
near/tools/functionCall
command
|
|
|
near/tools/getStubChainID
command
|
|
|
near/tools/publicKeyToAddress
command
|
|
|
near/tools/scan
command
|
|
|
near/tools/sendNear
command
|
|
|
ripple/rubblelabs/ripple/config
Package config provides a simple way of signing submitting groups of transactions for the same account.
|
Package config provides a simple way of signing submitting groups of transactions for the same account. |
|
ripple/rubblelabs/ripple/data
Package data aims to provides all the data types that are needed to build tools, clients and servers for use on the Ripple network.
|
Package data aims to provides all the data types that are needed to build tools, clients and servers for use on the Ripple network. |
|
ripple/tools/getStubChainID
command
|
|
|
ripple/tools/publicKeyToAddress
command
|
|
|
ripple/tools/sendAccountSetTx
command
|
|
|
ripple/tools/sendPaymentTx
command
|
|
|
ripple/tools/sendTrustSetTx
command
|
|
|
solana/tools/EnableSwap
command
|
|
|
solana/tools/applyMpc
command
|
|
|
solana/tools/changeMpc
command
|
|
|
solana/tools/genAccount
command
|
|
|
solana/tools/issueToken
command
|
|
|
solana/tools/publicKeyToAddress
command
|
|
|
solana/tools/scanTx
command
|
|
|
tests
command
|
|
|
tests/btc
Package eth test eth router by implementing `tokens.IBridge` interface.
|
Package eth test eth router by implementing `tokens.IBridge` interface. |
|
tests/eth
Package eth test eth router by implementing `tokens.IBridge` interface.
|
Package eth test eth router by implementing `tokens.IBridge` interface. |
|
tron/abicoder
Package abicoder is simple tool to pack datas like solidity abi.
|
Package abicoder is simple tool to pack datas like solidity abi. |
|
tron/tools/eth2tronAddress
command
|
|
|
tron/tools/publicKeyToAddress
command
|
|
|
tron/tools/tron2ethAddress
command
|
|
|
crypto
Package crypto provides facilities for ecdsa encryption and decryption.
|
Package crypto provides facilities for ecdsa encryption and decryption. |
|
keystore
Package keystore encrypt private key and save on disk uses JSON encoding.
|
Package keystore encrypt private key and save on disk uses JSON encoding. |
|
rlp
Package rlp implements the RLP serialization format.
|
Package rlp implements the RLP serialization format. |
|
Package types - eth types like transaction, receipt and logs nolint
|
Package types - eth types like transaction, receipt and logs nolint |
|
Package worker includes all the tasks and jobs to process router swaps.
|
Package worker includes all the tasks and jobs to process router swaps. |
Click to show internal directories.
Click to hide internal directories.