Skip to content

SimoWebDev/cra-javascript-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Create a project using this example:

npx thirdweb create --template cra-javascript-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 useMetamask hook that we use to connect the user's wallet to MetaMask, useDisconnect that we use to disconnect it, and useAddress to check the user's wallet address once connected.

Learn More

To learn more about thirdweb, React and CRA, take a look at the following resources:

You can check out the thirdweb GitHub organization - your feedback and contributions are welcome!

Join our Discord!

For any questions, suggestions, join our discord at https://discord.gg/thirdweb.

About

thirdweb starter project with Create React App & JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.4%
  • HTML 40.6%