Relayed is a transaction relay service submitted for Lukso's hackathon. It offers a subscription service where users can pay for monthly subscriptions and then they can perform gasless transactions through the relay service provider.
Watch a quick demo
Try out the app
Check out the server
-
To execute a transaction send a PUT request to "https://relayed-service.herokuapp.com/user/execute"
It request { UPAddress: UPAddress EOA: EOA's signing it (to verify if the signature signing and decrypted hash is the same) Signature: EOA's signature Hash: hash Nonce: nonce AbiPayload: abiPayload };
To get the result of the transaction, send a get request to "https://relayed-service.herokuapp.com/user/transactions/:UPAddress"It returns { Success: true ControllerAccount: EOA Date: Date TransactionHash: transactionHash GasUsed: cumulativeGasUsed }
-
To check user's balance send a Post request to "https://relayed-service.herokuapp.com/user/checkQuota"
It request { Address: UPAddress Timestamp: Date.now() as hash Signature: signature EOA: EOA address }
It returns { Quota: quota left Unit: unit of the relay which is rlyx TotalQuota: total quota left }
The relayer can be tested with sending lyxs
- Nextjs
- LSP fuctions
- Mongodb
contact me @ [email protected]