@pinax/antelope-accounts
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

antelope-accounts-js

Get account origin information using Accounts substreams KV sink endpoint

Quickstart

import { createClient } from "@pinax/antelope-accounts"
const client = createClient( process.env.SINK_ENDPOINT );
const one = await client.getOrigin("account");
const many = await client.getOrigins(["account1","accounts2"]);

Example

> node example.js

Server

You can start your own accounts sink server by running docker compose up in the ./server directory

Readme

Keywords

none

Package Sidebar

Install

npm i @pinax/antelope-accounts

Weekly Downloads

1

Version

0.2.0

License

ISC

Unpacked Size

206 kB

Total Files

21

Last publish

Collaborators

  • soa432
  • dominicf96eos
  • yaroshkvorets
  • deniscarriere