Skip to content
Get started with Solana Attestations by installing the necessary packages and setting up your development environment.

​TypeScript/JavaScript

Install the Solana Attestations library, Solana Kit, and the two Kit plugins the examples use to build a client:

​Create a Client

The examples in these docs send instructions with client.sendTransaction(...) and read accounts with fetchCredential(rpc, ...) and the other fetch* helpers. Create the client once and reuse it. The Solana Attestation Service program is deployed on devnet and mainnet, and Surfpool forks mainnet, so both tabs below can reach it.
Create a keypair file, print its address, and paste the address into the Solana Faucet to get devnet SOL:
Terminal
Next, create a credential.