Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 801 Bytes

README.md

File metadata and controls

18 lines (17 loc) · 801 Bytes

NftStory

This demonstrates how you can connect to OpenAI to tell a story about an NFT based on that NFT's traits.

Steps:

  1. Create your Infura Account.
  2. Create your openAI Account.
  3. Choose Ethereum Mainnet.
  4. Create a .env file in your project folder with the following attributes, and populate the keys.

    OPENAI_API_KEY=
    INFURA_API_KEY=
    INFURA_API_KEY_SECRET=
    WALLET_PUBLIC_ADDRESS=
    WALLET_PRIVATE_KEY=

  5. In a terminal, browse to \back-end folder and execute the following:

    npm install
    npm start
  6. In another terminal, browse to \front-end folder and type the following:

    start index.html