This README provides a step-by-step guide to setting up and working with an IOTA Move package for on chain live concerts ticketing system.
- Ensure you have the IOTA Move CLI installed.
- Familiarity with Move language and IOTA dApp concepts is helpful.
Run the following command to create a new IOTA Move package:
iota move new live_concert
This will generate the following structure:
sources/
: Folder to store your module files.tests/
: Folder to store your test files.Move.toml
: Configuration file for the package.
Navigate to the sources
folder and create a new file named live_concert.move
:
cd live_concert/sources
touch live_concert.move
Write your module code in live_concert.move
.
Navigate to the tests
folder and write the test cases for your module:
cd ../tests
touch live_concert_tests.move
Add appropriate tests to validate your module's functionality.
Run the following command to build the package:
iota move build
Execute the test cases by running:
iota move test
Once your package is ready, publish it to the IOTA client:
iota client publish
For Live Concert Ticketing System frontend, refer to the dedicated README file in the frontend folder.