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.0.5.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file pyexhange_r3ne-0.0.5.tar.gz
.
File metadata
- Download URL: pyexhange_r3ne-0.0.5.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 677768921ce395ae94ddd90a7ea7150fe2dcebb3973d70efdd60a40c5b01dbd8 |
|
MD5 | f3ba2b5ee9d4afa85f5e70291bd0962d |
|
BLAKE2b-256 | a7ab0404546d1ef8616715e414d38249fa71ac1c44e6d2ac1c0fd2188ee555a2 |
File details
Details for the file pyexhange_r3ne-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: pyexhange_r3ne-0.0.5-py3-none-any.whl
- Upload date:
- Size: 7.7 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 | 06df67d61f0c6649aec2a083713bff16d15aab4dbb493b87c8d2d0a1fef434ba |
|
MD5 | 23a3b44ac983d7c636a36bd9b56616f3 |
|
BLAKE2b-256 | 5e0b6331f4a19c4f21ff547f86b2d56bea62f951e8de6f958da2cadb15936ec8 |