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.9.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file pyexhange_r3ne-0.1.9.tar.gz
.
File metadata
- Download URL: pyexhange_r3ne-0.1.9.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f1fecfb7138700f6a9e3cdff5ac6e07b9b6a6af53e167e26257658ff6a31c92 |
|
MD5 | a6a7cefa2ad7cf1a55a1b2d51de7c907 |
|
BLAKE2b-256 | e53d095fb49cac1273a731f9f3ae4e93063a316ef6c24484d0b13a0afa621923 |
File details
Details for the file pyexhange_r3ne-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: pyexhange_r3ne-0.1.9-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43e350b2e6c9cb43d384064059256bcfa46d8250a1a68f0e2765ace02ea15aa4 |
|
MD5 | 5696cabe9348a3933d62dc6622e4aba5 |
|
BLAKE2b-256 | c5612a369f5bdc03f04b8a910289cb1544e042dc332654faec9584d075d9b59a |