Scripts
Using the Scripts the API
These scripts will build the transactions required to call Harmony's production API, for more instructions on how to use the API check the webserver repo
Make sure to rename the
env_fileto.envand add your private key.To run a script just execute the node file e.g.
node bridge_eth_to_one.js
The Scripts
bridge_eth_to_one.jsThis script bridges ethereum BUSD to Harmony's ethereum BUSDbridge_one_to_bsc.jsThis script bridges Harmony's BSC BUSD to BSC BUSDviper_swap.jsThis script swaps Harmony's ethereum BUSD to Harmony's BSC BUSD to BSC BUSDend_to_end.jsThis script performs a full end-to-end swap from Ethereum BUSD to BSC BUSD
Last updated
Was this helpful?