Skip to content

Instantly share code, notes, and snippets.

@dome
Last active October 30, 2024 04:57
Show Gist options
  • Save dome/e641a3c11b2c37e99103b6c4ffe320de to your computer and use it in GitHub Desktop.
Save dome/e641a3c11b2c37e99103b6c4ffe320de to your computer and use it in GitHub Desktop.
cast send  --rpc-url https://rpc.thaichain.org  0x01969Df440F8Cb345d7952E30D8609813455Ffb6 "approve(address,uint256)" 0x
A5e6C28945bA54ea9d7F33454314aC895F06F8e1 10000000000000000000 --private-key $PRIVATE_KEY

cast send  --rpc-url https://rpc.thaichain.org   0xA5e6C28945bA54ea9d7F33454314aC895F06F8e1 "depositERC20Transaction(add
ress,uint256,uint256,uint64,bool,bytes)" 0x506ECB4c214c7EB712dc709CC4789dfA58CF513f 10000000000000000000 10000000000000000000 100000 false 0x00 --private-ke
y $PRIVATE_KEY

cast balance --ether  --rpc-url http://188.245.189.230:9545  0x506ECB4c214c7EB712dc709CC4789dfA58CF513f

cast send  --rpc-url http://188.245.189.230:9545  0x4200000000000000000000000000000000000016 --value 5ether --private-ke
y $PRIVATE_KEY --gas-price 1gwei 

withdrawer  -rpc https://rpc.thaichain.org   -withdrawal 0x191730b3501d8b913bc5b9adff6f7996e8027f4560db09302242052150e96
cbe -private-key $PRIVATE_KEY  -l2-rpc http://188.245.189.230:9545 --portal-address  0xA5e6C28945bA54ea9d7F33454314aC895F06F8e1 --l2oo-address 0x1E0B60B97F2
660c2DA86234bA49a54d77E214f23

withdrawer  -rpc https://rpc.thaichain.org   -withdrawal 0x191730b3501d8b913bc5b9adff6f7996e8027f4560db09302242052150e96
cbe -private-key $PRIVATE_KEY  -l2-rpc http://188.245.189.230:9545 --portal-address  0xA5e6C28945bA54ea9d7F33454314aC895F06F8e1 --l2oo-address 0x1E0B60B97F2
660c2DA86234bA49a54d77E214f23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment