Giter Club home page Giter Club logo

solana-pfp-program's People

Contributors

anbud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

the-great-ape

solana-pfp-program's Issues

Example of a wallet that has a PFP? I get the fallback for Vidor's account.

I tried to look up Vidor's wallet (I think Hp8SsZZZot8UB28HTfEuxxCXECoSiwHfpzqwenjrMPKF) assuming he has a PFP set using this standard, but it's using the autogenerated fallback images:

Here's my code.

import { PublicKey } from "@solana/web3.js";
import { getProfilePicture } from "@solflare-wallet/pfp";
import { log, stringify } from "./src/backend/functions";
import { connect } from "./src/backend/wallet";

const main = async () => {
  const connection = await connect("localhost");
  const response = await getProfilePicture(
    connection,
    new PublicKey("Hp8SsZZZot8UB28HTfEuxxCXECoSiwHfpzqwenjrMPKF")
  );

  log(stringify(response));
};

main();

Returns

PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0iIzdlMzhhOCIgZD0iTTM5LjUgMjlMMjkgMTguNUwzOS41IDhMNTAgMTguNVpNNTAgMTguNUw2MC41IDhMNzEgMTguNUw2MC41IDI5Wk02MC41IDcxTDcxIDgxLjVMNjAuNSA5Mkw1MCA4MS41Wk01MCA4MS41TDM5LjUgOTJMMjkgODEuNUwzOS41IDcxWk0xOC41IDUwTDggMzkuNUwxOC41IDI5TDI5IDM5LjVaTTcxIDM5LjVMODEuNSAyOUw5MiAzOS41TDgxLjUgNTBaTTgxLjUgNTBMOTIgNjAuNUw4MS41IDcxTDcxIDYwLjVaTTI5IDYwLjVMMTguNSA3MUw4IDYwLjVMMTguNSA1MFoiLz48cGF0aCBmaWxsPSIjYWY3NWQxIiBkPSJNMjkgMjlMOCAyOUw4IDhaTTcxIDI5TDcxIDhMOTIgOFpNNzEgNzFMOTIgNzFMOTIgOTJaTTI5IDcxTDI5IDkyTDggOTJaIi8+PHBhdGggZmlsbD0iI2Q3YmFlOCIgZD0iTTM3IDQyYTUsNSAwIDEsMSAxMCwwYTUsNSAwIDEsMSAtMTAsME01MyA0MmE1LDUgMCAxLDEgMTAsMGE1LDUgMCAxLDEgLTEwLDBNNTMgNThhNSw1IDAgMSwxIDEwLDBhNSw1IDAgMSwxIC0xMCwwTTM3IDU4YTUsNSAwIDEsMSAxMCwwYTUsNSAwIDEsMSAtMTAsMCIvPjwvc3ZnPg==

which is a autogenerated gravatar-style PFP.

What's a real wallet that's using PFP standard?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.