- For production set in the Makefile
1.1. For development and testing set in the Makefile
FEATURES = contract
FEATURES = contract,integration-test
- Build release:
$ make release
- Run tests:
$ cargo test
- Deploying process is common for Aurora itself. Please reference README.md
With near-cli
run:
$ near call <NEAR_ACC> new_eth_connector '{"prover_account": "<PROVER_NEAR_ACCOUNT>", "eth_custodian_address": "<ETH_ADDRESS>"}' --account-id <NEAR_ACC>
- new_eth_connector (call once)
- deposit (mutable)
- withdraw (mutable, payable)
- finish_deposit (private, mutable)
- ft_total_supply (view)
- ft_total_eth_supply_on_near (view)
- ft_total_eth_supply_on_aurora (view)
- ft_balance_of (view)
- ft_balance_of_eth (view)
- ft_transfer (mutable, payable)
- ft_resolve_transfer (private, mutable)
- ft_transfer_call (mutable, payable)
- ft_on_transfer (private, mutable)
- storage_deposit (mutable)
- storage_withdraw (mutable, payable)
- storage_balance_of (view)
Follow by this instruction.