@ivem/core
v0.0.1
Published
TypeScript SDK for IOST
Maintainers
Readme
@ivem/core
TypeScript SDK for IOST.
@ivem/core provides the core client, account, transaction, and transport primitives for building IOST applications.
Install
npm install @ivem/coreUsage
import { createPublicClient, http, mainnet } from "@ivem/core";
const client = createPublicClient({
chain: mainnet,
transport: http(),
});
const chainInfo = await client.getChainInfo();
console.log(chainInfo.head_block);