Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 915 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 915 Bytes

Rift FunC Template

This repository acts as a template for FunC projects utilizing the Rift framework, offering a streamlined solution for testing and deploying FunC contracts.

Initializing the Project

To start a new project, you have two options:

  1. Use this template directly through GitHub's interface by clicking the Use this template button and cloning your project.
  2. Use the rift command:
rift init my-project --base func

This will initialize a new project in the my-project directory.

Building the Project

To build the project, run the following command (replace TARGET with the target contract or all to build the entire project):

rift build TARGET

Testing

To run tests on a TARGET contract, use the following command:

rift test TARGET

Deployment

To deploy your TARGET contract, use the following command:

rift deploy TARGET