Skip to content

relational-os/canvas-2

This branch is 4 commits ahead of, 31 commits behind frolic/web3-scaffold:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3e95212 · Jun 15, 2022

History

35 Commits
Jun 9, 2022
Jun 11, 2022
Jun 15, 2022
Feb 19, 2022
Jun 15, 2022
Jun 9, 2022
Feb 19, 2022
Jun 9, 2022
Jun 12, 2022
Jun 15, 2022
Feb 19, 2022
Feb 19, 2022

Repository files navigation

web3 scaffold

Quickly get up and running on web3

This scaffold is set up as a monorepo using the incredibly fast pnpm, with packages for each part of the project. All of these packages use a common Typescript foundation with linting and autoformatting and is best used with VSCode. It assumes you'll be deploying to an EVM-compatible blockchain.

Packages

app

This is the frontend of your project. It's built on Next.js using Tailwind CSS. Data is read from the smart contract via a subgraph (below) using urql and autogenerated Typescript definitions with GraphQL Code Generator.

contracts

This is where your smart contracts live. They're written in Solidity using Foundry (forge & cast) to compile, test, and deploy. Types are generated with TypeChain.

subgraph

This is the read-only backend for your project and where you can offload a lot of the heavy lifting that would traditionally be done through an eth RPC node. It's written in AssemblyScript and deployed to The Graph.

Deploying

Vercel

Vercel supports monorepos and pnpm out-of-the-box, but you'll need to set the "Root Directory" to packages/app either during the Vercel project setup or afterwards in the project settings.

About

the slime must flow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.5%
  • JavaScript 11.6%
  • Other 0.9%