Skip to content

tokenhost/tokenhost-builder

Repository files navigation

Token Host Builder

Overview

Token Host Builder turns a simple JSON schema into a deployable on-chain app. You describe your data models in contracts.json, the generator builds Solidity contracts (an App contract plus per-model contracts), and a Next.js UI is rendered from Handlebars templates. The build pipeline compiles and deploys the contracts, updates the web3 helper with the deployed address, then outputs a ready-to-run site in site/.

Setup:

  1. configure the json for your site in contracts.json using tokenhost.com or https://github.com/tokenhost/tokenhost-www or just use default example to make a Job site

  2. install deps ie npm, yarn. currently node v19.7.0 is working great

  3. Compile and dev your site:

yarn
yarn run build
  1. you have now built your new site. This sin the folder site, to interact with it go to http://localhost:3000 after:
cd site
yarn run dev
  1. init a new git repo in the site folder and use that as the basis for your new dapp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •