The contract that allows you to save ETH for your transactions. It burns Gas Token after each transation and saves up to 42% of the network fees.
npm i
cp .env.example .env
and specify your accountPRIVATE_KEY
, this account will be owner of the proxy.npx truffle migrate --network mainnet --reset
You can specify other networks as well (kovan
,ropsten
, etc)- Send some GST2 to the deployed proxy. You can
mint
it or buy at uniswap.io
Encode calldata to following format:
[
[
"0xbD68E8226d753d4534e6DdE1c7C875D221e0ce4d" // target
"0x34d83b4200000000000000000000000000000000000000000000000000000000000003e8" // calldata
],
[
"0xA62993BFb0f1C8a505b07240d6518D9C0342444C" "0x34d83b420000000000000000000000000000000000000000000000000000000000000008"
]
]
and call the execute
method.
- JS library or UI that helps encode calldata