Skip to main content

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

py -m 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


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.7.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

pyexhange_r3ne-0.0.7-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file pyexhange_r3ne-0.0.7.tar.gz.

File metadata

  • Download URL: pyexhange_r3ne-0.0.7.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.8

File hashes

Hashes for pyexhange_r3ne-0.0.7.tar.gz
Algorithm Hash digest
SHA256 313398c434228ea73d5a6d5723b45f93fb5d9ad19a0c478d8b28ff14d179c992
MD5 ca1ee3d2f0db3f81826fb7bcb87688cd
BLAKE2b-256 e3abbb1445a961030c861b26a4d4ec9280e9341890264c6db3f4d0c5e81f9bc0

See more details on using hashes here.

File details

Details for the file pyexhange_r3ne-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for pyexhange_r3ne-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c58376a6ecf1eb43d772a00a5b6b53896002157de8397e04f71fad25148a88cb
MD5 f31cc6a051f91294071a402c779c5651
BLAKE2b-256 bb394bc152a9c09be0af4e5cfbbdd785295462bef447c617a6a7c07ba3cad19d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page