- Read more at https://tokenhost.com
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/.
-
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
-
install deps ie npm, yarn. currently node v19.7.0 is working great
-
Compile and dev your site:
yarn
yarn run build
- 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
- init a new git repo in the site folder and use that as the basis for your new dapp