Work-in-progress (WIP), not production ready yet.
Punk Nuxt Starter is a starter template that can help you set up a Web3 Social website for your web3 community. It uses Orbis SDK and Ceramic Network in the background.
If your web3 community has it's own Punk Domains extensions (like .klima or .smol), it can be used as usernames instead of addresses.
What's included:
This template does not work properly on GitHub Pages. Use Netlify or Vercel instead (make sure to use the npm run generate
command instead of npm run build
there).
You need to set env vars in two different places: .env
file and also in the nuxt.config.ts
file (the publicRuntimeConfig
section).
.env
file:
NUXT_ALCHEMY_POLYGON_KEY=value
NUXT_ALCHEMY_MUMBAI_KEY=value
NUXT_ALCHEMY_OPTIMISM_KEY=value
NUXT_ALCHEMY_ARBITRUM_KEY=value
NUXT_ALCHEMY_ETHEREUM_KEY=value
nuxt.config.ts
file:
publicRuntimeConfig: {
alchemyEthereumKey: process.env.NUXT_ALCHEMY_ETHEREUM_KEY,
alchemyPolygonKey: process.env.NUXT_ALCHEMY_POLYGON_KEY,
alchemyOptimismKey: process.env.NUXT_ALCHEMY_OPTIMISM_KEY,
alchemyArbitrumKey: process.env.NUXT_ALCHEMY_ARBITRUM_KEY,
alchemyMumbaiKey: process.env.NUXT_ALCHEMY_MUMBAI_KEY,
tldName: ".wagmi",
projectName: "My project name",
projectUrl: "https://my.website.url"
},
If you'll use the same keys as in this template, then you only need to enter values in the .env
file. But of you'll add a new env var, you need to edit both .env
and nuxt.config.ts
.
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000
npm run dev
Build the application for production:
npm run generate
Locally preview production build:
npm run preview
Checkout the deployment documentation for more information.
Orbis test group:
https://app.orbis.club/group/kjzl6cwe1jw145e1i1agcrjp9375sjpyyk7imu281koehrpve0pr46lvr5e9xco