- Install Provider Package
npm install --save @portis/web3
# OR
yarn add @portis/web3
- Set Provider Options
import Portis from "@portis/web3";
const providerOptions = {
portis: {
package: Portis, // required
options: {
id: "PORTIS_ID" // required
}
}
};
Check out Portis quick start for more detail on options
Note: A Portis instance is available on the provider as provider._portis