Skip to main content

Python code that allows users to create and manage their own virtual wallets to get the trading experiense with out real money.

Project description

PyExhange

This code is a Python implementation of a basic wallet system that allows users to buy, sell, and transfer currencies. It includes a JSON database to store user information and currency balances. The code is licensed under the MIT license.

Installation

pip install pyexhange-r3ne

Usage

This can be integrated to any interface (Websites, Telegram, Discord, etc.) with ease.

Example:

import pyexhange

#Buy 1 Ethereum
print(pyexhange.handle_command("trade 1 1 eth"))

#Sell 1 Ethereum
print(pyexhange.handle_command("trade 1 -1 eth"))

#As user 1 send 100 dollars to user 2
print(pyexhange.handle_command("send 1 2 100 USD This_Is_A_Message"))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyexhange_r3ne-0.1.6.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

pyexhange_r3ne-0.1.6-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file pyexhange_r3ne-0.1.6.tar.gz.

File metadata

  • Download URL: pyexhange_r3ne-0.1.6.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.8

File hashes

Hashes for pyexhange_r3ne-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ef96918173059966d27f255abe7f1b8f954c3fc83ce39ffed68d06059d6bf4fa
MD5 f9cb92fd27544476e589598169ce27ed
BLAKE2b-256 c924db6abc3f4552810415a3440ebfc9af55e9a7188fa178853ebcdea45f80d9

See more details on using hashes here.

File details

Details for the file pyexhange_r3ne-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pyexhange_r3ne-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ccc4bc6e97bb129e0c95ba2579942b4d1fced9797cfee27d1b7a2970ba4a3bd8
MD5 8d7021b8eb3ce00e98eea93c589806ef
BLAKE2b-256 144d996a4ccea7fe715b028064d826578d45f7129ffc3d416dda40f26e1ae49c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page