Create OCEAN Data NFTs in Python

Quickly create OCEAN Data NFTs by querying blockchain data from different providers (Dune & Flipside).

Setup

  1. Fork this repo.
  2. Create a GitHub Codespaces workspace, which will automatically setup a Python environment with the following:
    • Python 3.8.
    • pip install -r requirements.txt
  3. Copy the .env.example file, rename to .env, and add your keys:
    • DUNE_API_KEY
    • FLIPSIDE_API_KEY
    • WEB3_INFURA_PROJECT_ID (Note: Must have an Infrura account w/ RPC endpoints.)
    • PRIVATE_KEY (For a wallet)
  4. Run Create_OCEAN_Data_NFT.ipynb

Steps:

  • Get Data
  • Store Data
  • Create Data NFT

See code on GitHub.