Web SDK

Getting Started

Requirements

  1. Npm

  2. Yarn

How to start

Install the npm package:

 npm i @style-protocol/sdk.

Create .env or .env.local file (depends on your framework) with such parameter:

NEXT_PUBLIC_GOERLI_ENDPOINT=https://goerli.infura.io/v3/id  // provider endpoint e.g. by Infura (https://infura.io/)

Using the SDK

Examples

Last updated