-
Notifications
You must be signed in to change notification settings - Fork 9
Registration
Registration requires an oracle request to check whether the user has created the required repository or not. This cost can be covered by the registering user or by a pre-existing deposit.
register(address _oracle, string memory _githubUser)
The user sends a transaction (pays gas) and pays the oracle by sending the fee in ETH when calling the register()
function. The ETH will be converted to LINK to pay the oracle and perform the repository check. If it fails, the user wasted his own funds.
The user signs a transaction and sends it to our GSN relayer. The relayer performs the same checks as the oracle and forwards (pays gas for) the transaction only on success. The oracle fee, as well as the GSN paymaster expenses, are covered by the existing deposit.