Init

Setting up your marketplace

To start using the SDK you'll need a marketplace key and environment.

import NiftySDK from 'nifty-protocol';

const niftySDK = new NiftySDK({ key: 'key', env: Nifty.envs.TESTNET });

Connecting the wallet requires an external web3 connection You can follow our example of evm connection using web3modal on https://github.com/Nifty-Protocol/example/blob/main/src/web3/index.js

niftySDK.initWallet(Nifty.networkTypes.EVM, provider);

Last updated