tools/

directory
v3.0.0-...-e8b7a4c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2023 License: GPL-3.0

README

tools for call to near by mpc publicKey

deployContract

go run ./tokens/near/tools/deployContract/main.go -config ./build/bin/config-sign-with-privatekey-example.toml -chainID 1001313161555 -pubKey ed25519:7SVZCtsvrQmmAk9q5Ds4eZxKHWpgkQTSwNud5kn9JLiK -privKey ed25519:5NNdYaMoxpKZNTft2vrfx11tt9Lk5W7Zo3dkJkGRmZboEEHYEiJUzowdMWqTXSgfMKQcWNmD17zTdXrViRCsmTmH -accountId test.userdemo.testnet

changeMpc

go run functionCall/main.go -config config.toml -chainID xxx -routerContract xxx -functionName change_mpc_id -newMpcId xxx -pubKey xxx

setBaseGas

go run functionCall/main.go -config config.toml -chainID xxx -routerContract xxx -functionName set_base_gas -newGas xxx -pubKey xxx

setGas

go run functionCall/main.go -config config.toml -chainID xxx -routerContract xxx -functionName set_gas -newGas xxx -token xxx -pubKey xxx

anySwapInAll

go run functionCall/main.go -config config.toml -chainID xxx -routerContract xxx -functionName any_swap_in_all -txHash xxx -token xxx -to xxx -amount xxx -fromChainId xxx -pubKey xxx

changeWnative

go run functionCall/main.go -config config.toml -chainID xxx -routerContract xxx -functionName change_wnative -newWnative xxx -pubKey xxx

sendNear

go run sendNear/main.go -config config.toml -chainID xxx -to xxx -amount xxx -pubKey xxx

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL