The Nut API

We want to foster and enable creativity within our community, and we love the enthusiasm we've seen from several early community members who've expressed interest in building experiences for fellow nuts.

So we'll be launching an authentication & information API that will allow developers to securely authenticate Peanut holders and access information about their NFTs, without having to deal with low-level Solana APIs and libraries scattered across Github.

Our Authentication Endpoint (Signature verification & Token Gating) will authenticate a user in your app by taking a signed message (retrieving this is one line of code with Phantom - which will be outlined in our developer docs). Our API will then check whether the signature is authentic, and check whether the wallet has any peanuts in it. If the user doesn't hold any peanuts, they will be rejected. If they do, the endpoint will return information about the wallet, including multiple high-resolution assets for each NFT, information about other non-peanut NFTs in the wallet, and additional custom fields that can be attached. It will also return an authentication token that can be used to make subsequent requests to the API.

More details to come...

Last updated