3.0.2 • Published 3 months ago

krist v3.0.2

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 months ago

krist.js

JavaScript and TypeScript wrapper for the Krist API. Supports Node.js and the browser.

Features

  • Works on the server with Node.js, and in browsers
  • ES Modules support
  • Modern, Promise-based API with TypeScript support designed with async/wait in mind
  • Type-safe functions for all HTTP endpoints
  • Fully-featured WebSocket client with events and automatic reconnection
  • Useful Promise exceptions for all API errors
  • V2 Address generation with support for common wallet formats (KristWallet, Krist API, etc.)
  • CommonMeta parser for transaction metadata
  • Pagination helper for working with multiple pages of results
  • Utilities for common tasks such as validating addresses and names

Not yet supported

  • Lookup API
  • Search API
  • Idempotent requests

Quick Start

  1. Install krist from npm or yarn:
npm install krist
yarn add krist
  1. Import krist and create an instance of KristApi:
import { KristApi } from "krist";
const api = new KristApi();

More examples can be found at docs.krist.dev. View the full API reference here.

3.0.2

3 months ago

3.0.1

3 months ago

3.0.0

3 months ago

2.0.3

12 months ago

2.0.4

12 months ago

2.0.2

1 year ago

2.0.1

2 years ago

2.0.0

3 years ago