Core wallet components (generation, signing) for TypeScript (JavaScript).
erdjs-walletcore
is delivered via npm, therefore it can be installed as follows:
npm install @elrondnetwork/erdjs-walletcore
Feel free to skip this section if you are not a contributor.
browserify
is required to compile the browser-friendly versions of erdjs-walletcore
. It can be installed as follows:
npm install --global browserify
In order to compile erdjs-walletcore
, run the following:
npm install
npm run compile
npm run compile-browser
npm run compile-browser-min
In order to run the tests on NodeJS, do as follows:
npm run test
Make sure you have the package http-server
installed globally.
npm install --global http-server
In order to run the tests in the browser, do as follows:
npm run browser-tests