/snapshot.js

A TypeScript SDK for Snapshot

Primary LanguageTypeScriptMIT LicenseMIT

Snapshot.js

npm

Install

Snapshot.js was designed to work both in the browser and in Node.js.

Node.js

To install Snapshot.js on Node.js, open your terminal and run:

npm i @snapshot-labs/snapshot.js

Browser

You can create an index.html file and include Snapshot.js with:

<script src="https://cdn.jsdelivr.net/npm/@snapshot-labs/snapshot.js"></script>

Development

Install dependencies

yarn

Build package

yarn build

License

MIT.