Import
Add the protocol files to the project.
If referencing from typescript:
If referencing from a contract:
Now what
From here, you can build the following:
Basics - Interact with the protocol's basic functionality. Useful for building front-ends.
Pay a project - Deploy or inherit from a contract that makes it easy to forward funds to Snowcone projects.
Split payments - Deploy or inherit from a contract that makes it easy to forward funds to groups of splits whose members are either addresses, Snowcone projects, or arbitrary contracts that inherit from ISNOWSplitAllocator
.
Program a treasury - Get familiar with the configurable properties available when launching a project.
Program project permissions - Build custom Snowcone Project NFT logic to create your own project access controls.
Program treasury extensions - Create custom contractual rules defining what happens when a project receives funds, and under what conditions funds can leave the treasury during a funding cycle.