Skip to main content

Installation

The sequence.js SDK is composed of several sub-packages combined into a single meta-package called 0xsequence. To add the SDK to your project, add a dependency on 0xsequence to your package.json:

yarn add 0xsequence

or

npm install --save 0xsequence

If you know that your project only requires specific sub-packages, you can also depend on those directly with npm add @0xsequence/<sub-package name>.

Your package.json should look something like this (actual version may vary):

{
"name": "my-dapp",
...
"dependencies": {
"0xsequence": "^0.40.5",
...
}
}

CDN distribution as native JS

Optionally, 0xsequence can be installed as a JS script source (UMD distribution) via:

<script src="https://unpkg.com/[email protected]/dist/0xsequence.umd.min.js"></script>