Create
A Sui address must run this user creation step first before they are able to interact with any of the other Sage contracts.
However, the user creation step will be limited at first to requiring an invite code from another Sage user. At a later date invitations will be an optional step.
Create a new Sage user
Error Codes
User module
370
EInvalidDescription
Description is more than 370 characters.
371
EInvalidUsername
Name must be a-z, A-Z, 0-9, dash (NOT in beginning or end), and between 3 - 20 characters.
User Actions module
370
ENoInvite
No invite code was used and invites are required.
371
ENotInvited
The invite code was invalid.
User Fees module
370
EIncorrectCoinType
Custom payment type does not match configured custom payment coin.
371
EIncorrectCustomPayment
Incorrect custom payment value.
372
EIncorrectSuiPayment
Incorrect sui payment value.
User Invites module
371
EInviteDoesNotExist
The invite code used does not exist.
Querying for New User Events
In this case events will take the shape of an array of UserCreateEvent:
Last updated