This repository serves as a barebones project template with the Rift framework. It includes minimal examples of development, testing, and deployment.
To start a new project, you have two options:
- Use this template directly through GitHub's interface by clicking the Use this template button and cloning your project.
- Use the rift command:
rift init my-project
This will initialize a new project in the my-project
directory.
To build the project, run the following command (replace TARGET
with the target contract or all
to build the entire project):
rift build TARGET
To run tests on a TARGET
contract, use the following command:
rift test TARGET
To deploy your TARGET
contract, use the following command:
rift deploy TARGET