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.9.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file pyexhange_r3ne-0.0.9.tar.gz
.
File metadata
- Download URL: pyexhange_r3ne-0.0.9.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 | 60e2532d888095d0f045dc7bee981c2dfd0725f1f035919465a2ddbd5f8d9386 |
|
MD5 | f78ea2483f896d77ccdf4b382c5dd042 |
|
BLAKE2b-256 | 362b8f1a5c7b51e955603ba23180bd3932c9743303c6bb531ccdd8d4c8b896f4 |
File details
Details for the file pyexhange_r3ne-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: pyexhange_r3ne-0.0.9-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 | 3c8efadc905f3c95f16c8b4379f55cf29b80d02ce1a5eae099715c73909f8b89 |
|
MD5 | bbe8f2a3f21229376ac18155c5e0e4d3 |
|
BLAKE2b-256 | 92951684f68121b568e62aa7004248cf4965c4c6e39e34fec42851266ea0806d |