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
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.1.5.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file pyexhange_r3ne-0.1.5.tar.gz
.
File metadata
- Download URL: pyexhange_r3ne-0.1.5.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66ed0515f64dcf5e7e43ad8efba0643e452b26bc646a7c90dc273f3cf38ce864 |
|
MD5 | 4752efdf31120407aa2ca06e6147b5b0 |
|
BLAKE2b-256 | 4b529d700cdc0948085760f481d24fa07a454f00c0cfdc4bf5bf8f11564e6143 |
File details
Details for the file pyexhange_r3ne-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pyexhange_r3ne-0.1.5-py3-none-any.whl
- Upload date:
- Size: 9.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 | 63d349e2716c329ed9452642ac314caad7a98f85ff1bf8690308fc2624b18827 |
|
MD5 | c17a7ab91b102c95ea044b2b5088a069 |
|
BLAKE2b-256 | 8124482c28f3b512c51ae5d7cba6ab12d1c85ddf6b1f5c033677a5c4e1e66c8f |