🎭Profile Picture Protocol
The SUI Profile Picture Protocol (SPP) allows SUI users to set a single Token-standard NFT as their universal PFP in the SUI ecosystem.
We created the SPP with the following objectives in mind:
1) Enhancing the personalization and sense of identity in SUI apps 2) Improving user experience when sending transactions 3) As an additional layer of security and assurance that the correct recipient is chosen from the address book
Individual SUI protocols can use the documentation below to show SPP PFPs in their front end and provide the functionality to allow users to set a new PFP.
You can find the NPM package for the SPP here.
Example
import { JsonRpcProvider } from '@mysten/sui.js';
import { getProfilePicture } from 'sui-pfp';
const client = new JsonRpcProvider('https://fullnode.devnet.sui.io/');
const walletAddress = '0x28ed183435ad975c845871b8b1f72c16f1fd805c';
const { isAvailable, url } = await getProfilePicture(client, walletAddress);Last updated