Skip to content

devinxl/greenfield-with-privy

Repository files navigation

GreenField JS SDK Next.js

Use React and Next.js

Prepare

install and build

Install dependencies:

pnpm install

Build package:

pnpm -F "@bnb-chain/**" build

Run the demo application

cp .env.simple .env and fill your own configuration:

NEXT_PUBLIC_GRPC_URL=https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org

NEXT_PUBLIC_GREENFIELD_RPC_URL=https://gnfd-testnet-ethapi-us.bnbchain.org
NEXT_PUBLIC_GREEN_CHAIN_ID=5600

# BSC End POINT
NEXT_PUBLIC_BSC_RPC_URL=https://gnfd-bsc-testnet-dataseed1.bnbchain.org
NEXT_PUBLIC_BSC_CHAIN_ID=5601

this is TESTNET's configuration.

Run the demo application: npm run dev

Usage case

About

This is a greenfield demo with privy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published