darwinia-network / darwinia-offchain-tools

Ethereum bridge relayer tools
3 stars 4 forks source link

Relay and Redeem Tool Document Required #14

Open hackfisher opened 4 years ago

hackfisher commented 4 years ago
clearloop commented 4 years ago

No worry

Note that the redeem receiver account must not be dead account (have been deposited before)

This is auto-fixed in the redeem test tool. If the receiver has no balances, the script will transfer 999999999999 to it automatically.

Note the receipt proof spec of the smart contract, including the knowledge or prefixed receiver hex address, and validation. (Normal subkey hex address(public key) does not include prefix)

The receipt proof part in the tool is just like a cat in a black-box, users or developers might never reach this instead of they are trying to handwrite transactions, this part is included in the tool.

integration tests tool

The integration tests tool nearly auto-fix all errors that would happen

I'll add them on...

The notes this issue references might like a principle of how these tools work, sounds good and I'll add them on.