TradeTrust Creator Tutorial is a guide to help developers understand and implement TradeTrust's document creation process. This tutorial provides step-by-step instructions for creating, deploying, and managing transferable documents using the TradeTrust framework.
- Node.js (v20 or higher)
- npm
- Basic understanding of blockchain technology and smart contracts
Follow these steps to set up the project locally:
- Clone the repository:
git clone https://github.com/TradeTrust/creator-tutorial.git
cd creator-tutorial- Install dependencies:
Use npm to install the necessary dependencies:
npm install- Copy the environment file and configure your settings:
cp .env.sample .envUpdate the .env file with your settings for DOMAIN, WALLET_PRIVATE_KEY, and NET.
- Excute the pre scripts:
npm run generate:did-web
npm run deploy:token-registry- Run the development server:
npm run dev