GithubHelp home page GithubHelp logo

cloudxtreme / xenocash-cryptocurrency Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dylangnatz/xenocash-cryptocurrency

1.0 0.0 0.0 2.35 MB

A blockchain cryptocurrency and MySQL database model for a basic cryptocurrency exchange. Models a single Fiat/XENO trading pair.

Python 100.00%

xenocash-cryptocurrency's Introduction

#XenoBase CryptoCurrency Exchange ##Installation Instructions

###1. Import the XenoBase Database Make sure you have installed MySQLWorkbench and the MySQL Community Server Import the XenoBase.SQL dump file into your MySQLWorkbench by using the import tool and creating a new schema entitled "XenoBase".

###2. Prepare your Python Environment Download a Python IDE, preferably the Anaconda platform. (https://www.anaconda.com/)

You will need the following packages (pip installation scripts are provided below):

Flask 0.12.2: pip install Flask==0.12.2

Requests 2.18.4: pip install requests==2.18.4

MySQL Connector: pip install mysql-connector

###3. Open XenoBase.py Open the Spyder IDE from within the Anaconda-Navigator app, and in Spyder open the XenoCash.py file.

###4. Update xenobase_mysql_connector() Find the function xenobase_mysql_connector(). On line 27, update the mysql.connector.connect() function call with the login credentials for your MySQL connection. Save the file.

###5. Download Postman We will communicate with the blockchain and database via HTTP requests created in Postman. Download the Postman HTTP client (https://www.getpostman.com/)

###6. Import Postman XenoBase Collections Once Postman is up and running, click 'import' and select XenoBase.postman_collection.json.

###7. Run the XenoCash blockchain Open an IPython console in Spyder and run XenoCash_port5001.py to start the blockchain. If you would like to run multiple nodes, run both XenoCash_port5001.py and XenoCash_port5002.py in separate iPython consoles. Make sure to run the connect_port5001 and connect_port5002 requests in Postman to allow the nodes to communicate across the blockchain.

###8. Communicate with the blockchain in Postman Once the blockchain is running, you can submit requests from the XenoBase collection in Postman. Select a request from the collection and click 'send'. If the request accepts params, feel free to edit the values under the 'params' tab. Have fun with XenoCash!

xenocash-cryptocurrency's People

Contributors

dylangnatz avatar

Stargazers

AllStarBoy avatar

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.