๐ŸŽญProfile Picture Protocol

SPP

The Solana Profile Picture Protocol (SPP) allows Solana users to set a single Metaplex-standard NFT as a universal PFP for the Solana blockchain.

circle-info

The SPP allows Solana users to set a single Token-standard NFT as their universal PFP in the Solana ecosystem.

We created the SPP with the following objectives in mind:

1) Enhancing the personalization and sense of identity in Solana 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

circle-info

If you'd like any help with integration, please get in touch with the Solflare team via Twitterarrow-up-right or our Discordarrow-up-right community.

Individual Solana 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 herearrow-up-right.

Example

import { Connection, PublicKey } from '@solana/web3.js';
import { getProfilePicture } from '@solflare-wallet/pfp';

const connection = new Connection('https://api.mainnet-beta.solana.com');
const walletPubkey = new PublicKey('ES8rZr16f5eAc9PkUcAbafwg5JjEJANbpwu92CF2Cbox');

const { isAvailable, url } = await getProfilePicture(connection, walletPubkey);

Last updated

Was this helpful?