The Folks Finance SDK includes the functionality to mint, unmint, claim rewards, early claim rewards and burn. In addition, there are methods to obtain the smart contract state.
There are two smart contracts. The dispenser, which mints gALGO and the distributor, which manages the governance operations.
You can use the prepareMintTransactions method to obtain the group transaction for minting gALGO. If within the commitment period, then it also commits the user into liquid governance.
Before a user can mint gALGO in the commitment period, they must first opt-in to the smart contract. Since the transactions are composable, the SDK includes a boolean to indicate whether to prepend the opt-in transaction inside the atomic transaction group.
Projects that are interested in incorporating mint functionality and participating in the revenue share, should include in the note field of the application call the following:
The <NAME> should be a maximum of 8 characters in length. Please pre-confirm the name you will be using with the Folks Finance team in order to check eligibility requirements and avoid any duplications.