Using our protocol, you can collateralize your off-chain assets to mint GHO tokens on-chain using our secure Offchain-Sentinel Facilitator. We are using TLSN to generate ZK proofs stating your locked off-chain assets. For this hackathon, we have used Stripe in which users can pay in USD to a third party that can maintain an on-chain balance, which will be locked to mint the GHO tokens on-chain. Let's understand it from the perspective of users and the third party:-
- User
- You pay in USD to a third party using Stripe
- You get the respective amount of GHO tokens you have collateralized off-chain assets for.
- ThirdParty
- Maintains assets on-chain
- Receives USD payment off-chain from the user
- Locks the on-chain assets to mint GHO tokens for the user.
TLSN is used to generate proofs for payments made from users to third parties and vice-versa. These TLSN proving mechanisms are written in Rust as they need to be time and memory-efficient. We have designed two nodes for this project:-
-
Validator Node(Third Party):- Receives the webhook from Stripe generates a TLSN proof for the payment and shares it with the Sentinel Node.
-
Sentinel Node:- Receives and verifies the proof from the Validator node and calls the smart contract to mint GHO tokens. Similarly, receives payment proofs(TLSN) from the user and burns GHO tokens.
- Sentinel Facilitator: 0xDd81096cd08f4503C92036892968f55eff422cEC
- Demo GHO: 0x6389d8ac913FDFcE1dF2082305Bb7a9F5A9202C8
- Sentinal Node Address(EOA): 0x53d973560A9cF4576f4427bD5081e4BfcfBe9938