👤Profile
Last updated
Last updated
Assuming that you've successfully finished Setting up Ceramic, you can now use it to read and write the user's profile.
While more data can be stored in the user profile using Ceramic, we use the following profile structure in Protico.
Parameter | Description | Optional |
---|---|---|
You can update any part of the user's profile by passing a partial BasicProfile
object to the update
function:
This will completely reset the user's profile by replacing it with a default one.
Parameter | Description | Optional |
---|---|---|
name
Username
Yes
description
User bio showing in their profile
Yes
avatar_url
User profile picture's url
Yes
public_key
User public key, used for message encryption
Yes
isENSVerified
Whether the username has been verified as an ENS associated with the address
Yes
social_connections
User contacts Do not manipulate this field directly, check Contacts instead.
Yes
id
User Ceramic ID Read only
Yes
address
Wallet address associated with the user
No