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 templatebutton and cloning your project. - Use the rift command:
rift init my-project --base funcThis 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 TARGETTo run tests on a TARGET contract, use the following command:
rift test TARGETTo deploy your TARGET contract, use the following command:
rift deploy TARGET