Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 920 Bytes

README.md

File metadata and controls

42 lines (34 loc) · 920 Bytes

Carbonable Gasless

This project is a POC to showcase how to use AVNU gasless-sdk to allow your customer to interact with the blockchain without having to pay for gas fees.

Getting Started

Prerequisites

Ask AVNU for an API key and set it as an environment variable.

Environment Variables

NEXT_PUBLIC_NETWORK=sepolia|mainnet AVNU_API_KEY=your-private-key

Installation

npm install
# or
yarn install
# or
pnpm install
# or
bun install

Running the development server

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

How to use the example

  1. Mint some fake USDC on sepolia network
  2. Connect your wallet
  3. Click on Sign and Mint

Going further

You can modify the calls in the useCalls.ts file to interact with the blockchain as you wish.