Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.91 KB

Readme.md

File metadata and controls

41 lines (24 loc) · 1.91 KB

We empower ✊ people to fundraise for charities and individuals

Trusted, secure and decentralised

This master contract can be found live on the Polygon Mumbai Testnet :

0x0a07E53cbF44B50e92F81594c5AD74E0b2D2d452

Disclamer

Recommended usage

The recommended way of interaction with the contract is to use the following dapp : socialclaim.nescrypto.com

For contract owner

  • 1: setWalletSelector() to a HTML selector valid that can only be edited by the owner of the social media page you selected

Manual usage for wallet creation

  • 1: transferAndCall() to transfer $LINK tokens to the contract balance

  • 2: requestWalletCreation() to create the wallet

  • 3: subscribe to the WalletCreationUpdate() and WalletCreated() events to get the wallet information

Manual usage for withdrawal

  • 1: transferAndCall() to transfer $LINK tokens to the contract balance

  • 2: requestWithdrawal() to initialize the withdrawal process and get the challenge

  • 3: withdraw() to process the withdrawal

  • 4: subscribe to the WithdrawalUpdate() and WithdrawalResult() events to get the withdrawal information

Notes if you wish to deploy this contract

  • at deploy the contract creates a VRF subscription, its recommended to manually transfer at least 1 $LINK at deploy, to avoid issues with getting "pending" stuck RNG requests