/AICRYPTOART

ERC 721 Smart Contracts and Flask metadata API server (python)

Primary LanguagePython

Python Metadata API for OpenSea and ERC 721 Smart Contracts

About

This is a very simple sample Python Flask app for serving the ERC721 metadata for the Opensea, as specified in the OpenSea developer docs.

Requirements

Python 3

You'll need a machine with Python 3 installed.

Setup

Create a virtualenv with Python3 and run pip install -r requirements.txt.

Running

Run the API with python app.py and hit http://localhost:5000/api/artpiece/1

Deploying

To deploy on Heroku, set the environment variables on your Heroku instance and deploy by pushing to your Heroku remote. Enpoint is https://aicryptoart-pyapp.herokuapp.com/api/artpiece/3

#VISIT AICRYPTOART.ORG!!! Check out the site www.aicryptoart.org and the OpenSea Store at https://opensea.io/assets/aicryptoart Get your unique crypto AI artpieces now!