Integrate Reclaim Protocol end to end using our agent
logoReclaim Protocol Docs

Quickstart

Publish on chain using fuels

Pre-requisite

You can access the code on Github, it is a monorepo holding both contract and frontend code:

You need to have forc and Fuel wallet (or another) installed to continue this guide. Fuel docs provide a comprehensive quickstart.

Contract

You can skip this part if you wish to verify on our deployed contract with address 0x236d2b425f64c7424fa44f5d6eb555e411b618653b160bb9bc4525f18d029b06.

Clone the client contract repo.

git https://github.com/reclaimprotocol/fuel-sdk-onchain-integration
cd fuel-sdk-onchain-integration
forc build

Deploy the contract.

Deploy to Fuel network and instantiate the contract.

forc deploy --testnet

Save the contract address, it is the only contract-specific metadata to be used in the frontend client.

Client development

Cloning the frontend repo.

Change directory to /frontend:

cd frontend
npm i --legacy-peer-deps

Submitting the proof.

npm run dev

After requesting a proof from Reclaim and performing the verification on your end, a verify proof button will appear on the screen. Make sure your wallet is connected, click the button, a wallet pop-up will show prompting you to submit.

On this page