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 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/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. |
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. |
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. |
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. |
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.