Skip to content

yuga-cb/onchain-app-template

 
 

Repository files navigation

OnchainKit logo vibes

Onchain App Template

An Onchain App Template build with OnchainKit, and ready to be deployed to Vercel.

Play with it live on https://onchain-app-template.vercel.app

Have fun! ⛵️


Setup

To ensure all components work seamlessly, set the following environment variables in your .env file using .env.local.example as a reference.

You can find the API key on the Coinbase Developer Portal's OnchainKit page. If you don't have an account, you will need to create one.

You can find your Wallet Connector project ID at Wallet Connect.

# See https://portal.cdp.coinbase.com/products/onchainkit
NEXT_PUBLIC_CDP_API_KEY="GET_FROM_COINBASE_DEVELOPER_PLATFORM"

# See https://cloud.walletconnect.com
NEXT_PUBLIC_WC_PROJECT_ID="GET_FROM_WALLET_CONNECT"

Locally run

# Install bun in case you don't have it
curl -fsSL https://bun.sh/install | bash

# Install packages
bun i

# Run Next app
bun run dev

Resources


License

This project is licensed under the MIT License - see the LICENSE file for details.

Need more help?

If you have any questions or need help, feel free to reach out to us on Discord or open a Github issue or DMs us on X at @onchainkit, @zizzamia, @fkpxls.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.9%
  • CSS 7.6%
  • JavaScript 0.5%