Sample React Project
We have created an example React project that shows how you would go about integrating the different features provided by our @civic/solana-gateway-react component project.
civic-pass-sample.zip
507KB
Binary
You can get started by downloading the project above and simply running the following command: yarn install && yarn start. All the available commands are listed in the README.md.
We have broken down the project into the following three examples:
  • Civic Verified Badge: A react component that includes a wallet address with an ACTIVE Civic Pass.
  • Civic Identity Button: A react component that includes the Identity Button that can be used to test issuing a Civic Pass against a prod and dev environment.
  • Solana Wallet Adapter: A react component that illustrates how you would integrate the official @solana/wallet-adapter .
Last modified 19d ago
Copy link