Skip to content

socialclaim/contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published