Before running the project, make sure you have the following prerequisites installed on your system:
- Rust Toolchain: You can install the Rust Toolchain by following the instructions here.
- cargo-contract: Install
cargo-contract
by visiting the GitHub repository and following the installation instructions. - Node.js: Download Node.js from the official website here and install it on your machine.
To quickly get started with the project, follow these instructions:
- Clone the repository:
$ git clone https://github.com/protofire/ink-multisig.git
$ cd ink-multisig
- Run the make command to build the project and run the tests:
$ make run
The make run command will automatically install the necessary dependencies, clean the project, build the contracts, download the substrate contracts node, and run the tests.
This command simplifies the setup process for the first time you run the project.
Note: Make sure you have all the prerequisites installed before running the command.
If you prefer to run the individual commands separately, here are the available options:
- make clean: Clean the project by removing the generated files.
- make build: Build the contracts and generate the artifacts.
- make node-download: Download the substrate contracts node.
- make test: Run the tests to verify the functionality of the smart contract.
Feel free to explore and use these commands based on your requirements.