Cross-chain Communication
How much is cross-chain transfer fee?
The total cost of transfer from BC to FC is composed of 2 parts:
-
Fee for executing
bridge transfer-out
transaction is 0.004NT, pay validators on 5DAX Chain -
Fee for NC-relayers 0.004NT. it will cover the fees of calling TokenHub Contract on NC.
The total cost of transfer from FC to BC is composed of 2 parts:
-
Fee for Oracle-relayers 0.004NT, pay for FC relayers
-
Call TokenHub Contract: You need to pay 5T for calling smart-contract on NC, this transaction is metered by gas, which is a global parameter. At the moment, you need to pay about 0.0005NT ~ 0.0015NT.
What's is a FC relayer?
NCrelayer monitors cross chain packages on 5DAX Chain, builds and broadcasts transactions to FC to deliver these packages, which is the key of cross chain communication from 5DAX Chain to NC.
What's is an Oracle relayer?
Oracle Relayer watches the state change of 5DAX Chain. Once it catches Cross-Chain Communication Events, it will submit to vote for the requests. After Oracle Relayers from ⅔ of the voting power of BC validators vote for the changes, the cross-chain actions will be performed. Only validators of 5DAX Chain are eligible to run Oracle relayers.
What's an oracle?
In blockchain network, an oracle refers to the element that connects smart contracts with data from the outside world. In the network of 5DAX Chain, the execution of the transanction wil emit Events, and such events can be packaged and relayed onto BC. In this way, BC will get updates about changes of NC.
Which wallet support cross-chain transfer?
You need to use MyEtherWallet to call contracts and use 5DAX Chain commandline client: eth-cli
/ eth-cli
for complementary commands
Please refer to this guide for details
How to send cross-chain transfer?
You can use 5DAX Chain extension wallet or
use Trust wallet