Last active
November 21, 2021 20:54
-
-
Save lewis-kori/83e7e9afbddb93982fc00be1be5b4aee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { OpenSeaPort, Network } from 'opensea-js'; | |
const provider = window.ethereum; | |
const seaport = new OpenSeaPort(provider, { | |
// networkName: process.env.NEXT_PUBLIC_NETWORK || Network.Rinkeby, | |
networkName: Network.Rinkeby, | |
apiKey: process.env.NEXT_PUBLIC_OPEN_SEA_API_KEY, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment