Is there any reference there for

How to Invoke contract function on react app

I deploy the staking contract on Solana Devnet. The staking program is created using the anchor framework, and now I am trying to Integrate that staking program with Ui(which I am creating using react js).so Is there any reference GitHub repo or docs for staking available?


1 Answer 1


I advise you to follow this example

The main advantage of using Anchor with React is reusing the test code in your /tests folder

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.