NonceGeek / Tai-Shang-Voxel-Handler

dApp to handle voxel
https://welightproject.github.io/Tai-Shang-Voxel-Handler
MIT License
5 stars 5 forks source link

Tai-Shang-Voxel-Handler

focusing on handle voxel, voxel NFT and actual 3D model of voxel NFT by 3D printer.

  1. Prerequisites: Node (v16 LTS) plus Yarn and Git

  2. clone/fork WeLightProject/Tai-Shang-Voxel-Handler:

git clone https://github.com/WeLightProject/Tai-Shang-Voxel-Handler.git
  1. install and start your Hardhat chain:
cd Tai-Shang-Voxel-Handler
yarn install
yarn chain
  1. in a second terminal window, start your frontend:
cd Tai-Shang-Voxel-Handler
yarn start
  1. in a third terminal window, deploy your contract:
cd Tai-Shang-Voxel-Handler
yarn deploy
  1. Open http://localhost:3000 to see the app.

  2. Download MagicVoxel, use it to make something and save as voxel file.

1

  1. Upload voxel file to permaweb, login with Arweave wallet first(a json file, create first if having none).

2

  1. Using Github pages to serve voxel as HTML.

  2. Mint voxel file as NFT, you will get all required data if you totally follow the above article.

3

  1. Run Backend, submit the order from dApp to backend.

  2. Done! Enjoy and try it!

4