Transfer cross-chain value
This section will explain how to enable ERC-20 value transfer between Kairos network and your ServiceChain with the provided test code. You will add KAIA to the operator account and deploy bridge and ERC-20 contracts. Then you will register the contract address on SCN. And you will test an ERC-20 value transferring.
Prerequisites
- We assume that you installed the ServiceChain, and connected the ServiceChain to the Kairos EN by the instructions in Connecting to Kairos.
- Clone the repository servicechain-value-transfer-examples.
- Install
Node.js
(v14) andnpm
(How to install) - This example leverages two packages, axios and caver-js, which both support v14.