JSPM

@emblemvault/primitives-receipt

0.1.4
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 45
    • Score
      100M100P100Q89848F
    • License Apache-2.0

    TypeScript SDK for the Emblem receipt primitive — soulbound proof-of-purchase PDAs that compose with sell, gate, and stake.

    Package Exports

    • @emblemvault/primitives-receipt
    • @emblemvault/primitives-receipt/dist/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@emblemvault/primitives-receipt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @emblemvault/primitives-receipt

    TypeScript SDK for the Emblem receipt primitive — soulbound proof-of-purchase PDAs that compose with sell, gate, and stake.

    Install

    npm i @emblemvault/primitives-receipt @solana/web3.js

    Quick start

    import { Connection } from '@solana/web3.js';
    import { EmblemReceiptClient } from '@emblemvault/primitives-receipt';
    
    const client = new EmblemReceiptClient({
      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