- The project runs on Node.js (version 18) and npm (version 8), please make sure these are installed
- It is built with TypeScript and React, and bundled using Vite.
- For data management, React Query is utilized.
- It leverages Wagmi, viem, and WalletConnect for web3 wallet connections.
To run OPUS Pool SDK Example it is required to configure WalletConnect. To set this up:
- Copy the
.env.dist
file to.env
to create your local environment settings. - Create a new project on WalletConnect Cloud to obtain your unique project ID.
- Use this
projectId
in your.env
file, linking your development environment to the blockchain.
To get the frontend up and running, follow these steps:
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
-
Once the development server is started, open your browser and navigate to
http://localhost:5173/opus-pool-demo/
.
- To see the OPUS Pool SDK Example in action, check out the live demo here.
- For a detailed guide on how to use the OPUS Pool SDK, based on this example, refer to our Guide.
- Comprehensive API documentation can be found at API Docs.
- To explore more about the SDK, visit the official Opus Pool SDK repository.