Projects
Papaya supports project separation, as the protocol was originally designed for platforms rather than individual users.
To utilize this functionality, call the claimProjectId
method to assign a unique identifier to your wallet. This ID is necessary for users of your platform and for configuring both general and specific settings for individual users.
Settings
The Settings
structure defines whether settings are applied and specifies the fee amount. It is formatted as follows:
setDefaultSettings
Set the default fee settings for all users within your project.
setSettingsForUser
Allows precise configuration of fees for a specific user, useful for scenarios such as collaborating with key opinion leaders.
These methods enable the management and fine-tuning of user fee settings for your project. Note that the maximum fee is capped at 20% of the authors’ income on your platform.
Last updated