Code Monkey home page Code Monkey logo

nftjob's Introduction

NFTJOB

A simple python backend service that interacts with the contract of the ERC-721 standard in the Ethereum blockchain.

Tested on Ubuntu 20.04 and is compatable with Python==3.8.10 Django==2.2.12 web3==5.28.0

Getting Started

These instructions will get you a copy of the project up and running on your local machine. There are two ways to run a project.

  1. run without Docker
  2. run with Docker

.env file

For correct work you need to create .env file in ~/PROJECT_DIR/nftjob/.env with the following content:

WEB3_INFURA_PROJECT_ID=<endoint infura>
ADDRESS_CONTRACT=<address contract>
ME=<your address>
ABI=<ABI of contract>
PRIVATE_KEY=<private key your address>

Build Without Docker

Git

Clone the repository

git clone https:github.com/Alexander671/nftjob

Navigate into the nftjob directory

cd nftjob

Dependencies

Install, using pip:

pip install -r requirements.txt

Usage

python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver

Build Using Docker

Git

Clone the repository

git clone https:github.com/Alexander671/nftjob

Navigate into the nftjob directory

cd nftjob

Usage

  1. Build the image

docker build .

  1. Сompiling the image with the team

docker-compose build

  1. Run container:

docker-compose up -d

Some examples

Some edge-cases examples are available on the examples folder.

Authors

nftjob's People

Contributors

alexander671 avatar

Stargazers

Bilal Ahmed avatar

Watchers

 avatar

Forkers

vasiliikletkin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.