@shibarmy/shibariumjs
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Shibarium SDK

This repository contains the shibariumjs client library. shibariumjs makes it easy for developers, who may not be deeply familiar with smart contract development, to interact with the various components of Shibarium Network.

This library will help developers to move assets from Ethereum chain to shibarium chain, and withdraw from shibarium to Ethereum using fraud proofs.

Development

Setup

npm ci

How to debug

Write your code inside file test/debug.js and run below code

npm run debug

Above command will build the source code & install the builded version into test folder, which will be used by debug.js.

Lint

# To check lint errors
npm run lint

# To fix most common lint errors
# Note that it might not fix all errors, some need manual intervention
npm run lint:fix

Build code

npm run build

Run test

npm run test

Generate distribution files

npm run deploy

NPM publish

Before running publish script, make sure you have updated version properly.

Note that prepublishOnly script will be automatically called while publishing. It will check lint, clean dist/lib folders and build fresh distribution files before it executes npm publish.

npm publish

License

MIT

Package Sidebar

Install

npm i @shibarmy/shibariumjs

Weekly Downloads

6

Version

0.1.0

License

MIT

Unpacked Size

24.2 MB

Total Files

91

Last publish

Collaborators

  • trishnakashyap
  • nikkipanchal
  • codegnosis
  • vishwajeety123
  • robilrev
  • shibaswaparmy