You should not follow these directions if you don't know what you're doing. Be vigilant and careful about installing anything on your machine. This page is for developers only.
To get started, first install Backpack.
Grab the latest alpha release from the releases page. Then install it:
- Open chrome, select the extensions puzzle icon, and click
Developer modeby selecting the switch at the top right of the
Load unpackedand select your newly extracted
- Pin the extension on your toolbar and you're done installing.
Install NPM Packages
Next you'll need to install packages to build your UI. You can skip this section for now.
Install the CLI
You'll need the CLI to bundle xNFTs. Run
yarn add @coral-xyz/xnft-cli
Install React xNFT
You'll need the
react-xnft package to build components. Run
yarn add react-xnft
Note that packages are published and tagged corresponding to each Backpack build. If you have unexpected problems, make sure your package version corresponds with your version of Backpack.
To check your Backpack version, open up settings -> preferences and see the bottom of the screen.