This is a test DApp marketplace built to test the Gorbag wallet extension connection functionality. It allows users to connect their Gorbag wallet, view their balance, and perform real transactions settled on the Gorbagana testnet to test the wallet integration.
- Wallet connection/disconnection functionality
- Display of connected wallet address and balance
- Mock marketplace with sample NFTs
- Transaction functionality (transfers a small amount to self)
- Product filtering by category
- Install dependencies:
pnpm install- Copy your
.example.envto your.envand set the Merchant/Store Address Parameter. This is the address that'd receive the funds of the mock NFT you're paying for
MERCHANT_ADDRESS=A-VALID-GORBAGANA-ADDRESS # a valid address that'll receive the funds of the items in the trashmarket
NETWORK=testnet
RPC_URL=A-VALID-RPC-URL # you can use the official one provided by the Gorbagana Team i.e. https://rpc.gorbagana.wtf
- Run the development server:
npx next dev --webpack- Open http://localhost:3000 in your browser
- Make sure you have the Gorbag wallet extension installed and configured
- Visit the site and click "Connect Wallet" button
- Switch to your desired wallet(if you have multiple) and Approve the connection in the extension
- You should see your wallet address displayed
- Try purchasing an item to test transaction functionality. Don't have funds(testnet GOR), claim here
- Built with Next.js
16 - Uses @gorbag/wallet-adapter, @solana/wallet-adapter-react packages
- Implements standard Solana wallet adapter interface
- Real transactions on testnet to test wallet functionality