Welcome to the Verbwire Wallet Integration project! This repository demonstrates a basic workflow for integrating the Verbwire wallet into your app, providing a seamless user onboarding experience and smoother interactions with your decentralized application (dApp). The wallet can be utilized like any other wallet, allowing you to perform tasks such as signing messages, conducting transactions, managing NFTs, handling ERC-20 Tokens, and interacting with smart contracts.
This project showcases the following three fundamental functions:
-
Signing a Message: Demonstrates how to sign a message using the Verbwire wallet.
-
Sending Funds: Illustrates the process of sending an amount to another wallet address using the Verbwire wallet.
-
Minting NFT (or Contract Interaction): Provides an example of minting an NFT or interacting with a smart contract using the Verbwire wallet.
To get the project up and running, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory:
cd verbwire-wallet-integration
. - Install the required dependencies:
npm install
.
Before running the application, you need to make a few changes in the credentials.js
file located in the root directory:
- Add your public key with the necessary scope.
- Add your application ID for the wallet integration.
- Add your Alchemy API key.
Once you've configured the credentials, you can run the application using the following command:
npm run dev
This will start the development server, allowing you to access and test the Verbwire wallet integration in your app.