2.1.0 • Published 3 years ago
@elrondnetwork/erdjs-walletcore v2.1.0
Elrond SDK for JavaScript: core wallet components
Core wallet components (generation, signing) for TypeScript (JavaScript).
CHANGELOG
Distribution
Installation
erdjs-walletcore is delivered via npm, therefore it can be installed as follows:
npm install @elrondnetwork/erdjs-walletcoreDevelopment
Feel free to skip this section if you are not a contributor.
Prerequisites
browserify is required to compile the browser-friendly versions of erdjs-walletcore. It can be installed as follows:
npm install --global browserifyBuilding the library
In order to compile erdjs-walletcore, run the following:
npm install
npm run compile
npm run compile-browser
npm run compile-browser-minRunning the tests
On NodeJS
In order to run the tests on NodeJS, do as follows:
npm run testIn the browser
Make sure you have the package http-server installed globally.
npm install --global http-serverIn order to run the tests in the browser, do as follows:
npm run browser-tests