@mintee/wrapped-connection
v0.0.14
Published
A convenient way to interact with the Solana blockchain + Compressed NFTs.
Downloads
3
Maintainers
Readme
wrapped-connection
A simple wrapper around the Solana's Connection
class that adds a few useful features, especially for compressed NFTs.
I got this code form Metaplex: Compression-example
install
npm install @mintee/wrapped-connection
Usage
import { WrappedConnection } from "@mintee/wrapped-connection";
const keypair = new Keypair();
const connectionWrapper = WrappedConnection.getConnectionWrapper(
"https://api.mainnet-beta.solana.com",
keypair
);
const assetInfo = await connectionWrapper.getAsset(assetId);