@emblemvault/primitives-gate
v0.1.4
Published
TypeScript SDK for the Emblem gate primitive — token-balance, NFT-hold, and stake-based access rules with on-chain CPI evaluation.
Maintainers
Readme
@emblemvault/primitives-gate
TypeScript SDK for the Emblem gate primitive — token-balance, NFT-hold, and stake-based access rules with on-chain CPI evaluation.
Install
npm i @emblemvault/primitives-gate @solana/web3.jsQuick start
import { Connection } from '@solana/web3.js';
import { EmblemGateClient } from '@emblemvault/primitives-gate';
const client = new EmblemGateClient({
connection: new Connection(process.env.SOLANA_RPC_URL!),
});The Connection is caller-supplied — point at mainnet, devnet, surfpool, or any forked-mainnet endpoint.
License
Apache-2.0 © Emblem Vault
