1.0.0 • Published 2 years ago

@swipechain/client v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Swipechain - TypeScript Client

Installation

yarn add @swipechain/client

Usage

import { Connection } from "@swipechain/client";

const init = async () => {
	const connection: Connection = new Connection("https://api.swipechain.org/api");

	console.log(await connection.api("blocks").all())
};

init();

See tests for more examples.

Security

If you discover a security vulnerability within this package, please send an e-mail to security@swipechain.org. All security vulnerabilities will be promptly addressed.

License

MIT © Swipechain