Install SDK
Easy and simple to install
Last updated
Was this helpful?
Easy and simple to install
Last updated
Was this helpful?
Our SDK supports installation through several sources, which include CDN and direct installation through NPM, which is recommended way.
To install via CDN, simply insert a link to the js bundle with our SDK.
To install via NPM, just run one command in the console, but if your project does not contain , additional steps are required
npm install rubic-sdk
ℹ️️ Skip the rest of the steps if your have already installed 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 config
add to plugins
add resolve.fallback
Installing the package from the NPM for Angular is similar, but in case your project does not contain , the additional steps will be different.
npm install rubic-sdk
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
ℹ️️ Skip the rest of the steps if your have already installed in your project.