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:
from pyexhange 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
Release history Release notifications | RSS feed
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.0.8.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file pyexhange_r3ne-0.0.8.tar.gz
.
File metadata
- Download URL: pyexhange_r3ne-0.0.8.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f59d11f7c8bef4703e4e6adb5b39835280a0fe248cd1d76ee60079ab87ddc43e |
|
MD5 | 3a2a84ae2a512f3b6ce6a4c838940c0a |
|
BLAKE2b-256 | 879b03ff7c864e5ba9ff83d83c848410e11e5388e92258d258d2030a3cafdc27 |
File details
Details for the file pyexhange_r3ne-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: pyexhange_r3ne-0.0.8-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a2cd1721f388ac5ff4173005b9abb6d5a640adac5601b6a7daaf19865abf9c5 |
|
MD5 | ebfd4e5ba1adc802b365cdb50cd0604f |
|
BLAKE2b-256 | 75aac5bb12ba09dcad8609c4afd44af9a10d91640752eb264b22b80efcfd1f14 |