Skip to content
ERC 721 Smart Contracts and Flask metadata API server (python)
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
ERC721contract.sol
Factory.sol
Migrations.sol
Procfile
README.md
Strings.sol
TradeableERC721Token.sol
app.py
requirements.txt

README.md

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!

You can’t perform that action at this time.