1️⃣Install SDK
Easy and simple to install
Our SDK supports installation through several sources, which include CDN and direct installation through NPM, which is recommended way.
Install with CDN
To install via CDN, simply insert a link to the js bundle with our SDK.
Install with NPM and webpack
To install via NPM, just run one command in the console, but if your project does not contain web3, additional steps are required
npm install rubic-sdk
ℹ️️ Skip the rest of the steps if your have already installed web3 in your project.
npm install --save-dev http-browserify https-browserify stream-browserify crypto-browserify
modify webpack.config.js. If you use create-react-app, run
npm run eject
to extract configadd to
plugins
add
resolve.fallback
Installation with npm for Angular
Installing the package from the NPM for Angular is similar, but in case your project does not contain web3, the additional steps will be different.
npm install rubic-sdk
ℹ️️ Skip the rest of the steps if your have already installed web3 in your project.
npm install --save-dev stream-browserify assert https-browserify os-browserify stream-http crypto-browserify process buffer browserify-zlib browserify-fs querystring-es3
Modify tsconfig.json
Modify polyfills.ts
Last updated