This repository acts as a template for FunC
projects utilizing the Rift framework, offering a streamlined solution for testing and deploying FunC contracts.
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 --base func
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