This page uses machine translation from English, which may contain errors or unclear language. For the most accurate information, please see the original English version. Some content may be in the original English due to frequent updates. Help us improve this page's translation by joining our effort on Crowdin. (Crowdin translation page, Contributing guide)
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.