Create a project using this example:
npx thirdweb create --template cra-javascript-solana-starter
You can start editing the page by modifying src/index.js
. The page auto-updates as you edit the file.
On src/index.js
, you'll find our ThirdwebProvider
wrapping your app, this is necessary for our hooks to work.
on src/App.js
, you'll find the useProgram
hook to show you how to connect and start interacting with your Solana program.
To learn more about thirdweb, React and CRA, take a look at the following resources:
- thirdweb React Documentation - learn about our React SDK.
- thirdweb Solana Documentation - learn about our Solana SDK.
- thirdweb SDK Documentation - learn about our JavaScript/TypeScript SDK.
- thirdweb Portal - check our guides and development resources.
- React documentation - learn React.
You can check out the thirdweb GitHub organization - your feedback and contributions are welcome!
For any questions or suggestions, join our discord at https://discord.gg/thirdweb.