Allow to crosschain exchange tokens like USDT, USDC and other using HTLC contracts()
Approximately it looks like:
more information about HTLC you can read
- https://www.researchgate.net/figure/Hash-time-lock-contract-HTLC_fig1_346143775
- https://docs.lightning.engineering/the-lightning-network/multihop-payments/hash-time-lock-contract-htlc
cd aeproject
npm install
aeproject env
aecli account create local.wallet
cd aeproject
make deploy
cd aeproject
make test
cd src
npm start
- Deploy ae
cd aeproject
make deploy_uat
make copy
- Set ae owner. Copy ae gate contract to params for set_owner (aeproject/Makefile). Change ct_ to ak_
make set_owner_uat
-
Copy ae token address to truffle (truffle/migrations/2_deploy_gate.js)
-
Deploy truffle
cd truffle
make deploy_goerli
make copy
- Copy eth token address to ae (aeproject/Makefile) and run
cd aeproject
make add_bridge
✅✅✅ DEPLOY COMPLETED ✅✅✅ ✅✅✅ Ae token address: ct_kZEGsGYDQHyzmCQ3Bo5M1n4VZPd1G52kKkL362J6ssug5U3fj ✅✅✅ Ae gate address: ct_sTEXpvPxkTgeaNFxQBzmsT1GKjWHqyJmiWFCpHgB8hyVrT15L ✅✅✅ Eth token address: 0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9 ✅✅✅ Eth gate address: 0xdB8D61c44a6bDC97098B0d1350c5350bb64347ae