Skip to content

sky-ring/rift-func-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

FunC project template for Rift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages