Skip to content

Latest commit

 

History

History

typescript_webpack

Summary

This is an example code to use clvm-js with TypeScript and Webpack.

Setup

# 0. Install pnpm
# 1. Clone this repository
git clone https://github.com/Chia-Mine/clvm-js
cd clvm-js

# 2. Build clvm-js
pnpm i # or `yarn`, `npm i`
pnpm build # or `yarn build`, `npm run build`

# 3. Build example code for web browsers
cd example/typescript_webpack
pnpm i # or `yarn`, `npm i`
pnpm build # or `yarn build`, `npm run build`

# 4. Run demo server
pnpm start # or `yarn start`, `npm start`