Main contract for relay
Testnet address:
1fcb2ffb62b887daa1c0d2da819de212dd505600cd4feb715953cc0b0d08d69b
Call a contract on behalf of a user
contract: recipient contract hashentry_point: recipient contract entry pointcaller: actual callergas_amount: gas amountpay_amount: payment amountargs: recipient contract argumentscep18_hash: contract hash of cep18 payment token
Register a contract to be able to call from relay
contract: contract hashowner: contract owner
Sample contract to test relay
Testnet address:
2f17ce27d18c5aa1129e9cf6a3f7cb9680ff0703bc6d9751a079c49c482b638a
Session contract (WASM) to deposit CSPR to pay for gas
owner: which owner account to deposit toamount: amount of CSPR to deposit
E2E test for relay contract
- Create a
.envfile for network configuration - Copy keys to
accountsfolder npm install- run
index.ts