Skip to content

Commit

Permalink
Version 1.11.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNaif2018 committed Feb 1, 2023
1 parent 66a9107 commit 5665521
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Latest changes

## 1.11.1.0

Add new `xpub_name` attribute in coin objects, used to display what "xpub" actually means in context of current coin (i.e. it may be xpub, or it may actually be an address)

## 1.11.0.0

Change license to MIT license
Expand Down
1 change: 1 addition & 0 deletions bitcart/coin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

class Coin:
coin_name: str
xpub_name: str
friendly_name: str
event_handlers: Dict[str, Callable]
xpub: Optional[str]
Expand Down
1 change: 1 addition & 0 deletions bitcart/coins/btc.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ async def wrapper(*args: Any, **kwargs: Any) -> Any:

class BTC(Coin, EventDelivery):
coin_name = "BTC"
xpub_name = "Xpub"
friendly_name = "Bitcoin"
RPC_URL = "http://localhost:5000"
RPC_USER = "electrum"
Expand Down
1 change: 1 addition & 0 deletions bitcart/coins/eth.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

class ETH(BTC):
coin_name = "ETH"
xpub_name = "Address"
friendly_name = "Ethereum"
RPC_URL = "http://localhost:5002"
ALLOWED_EVENTS = ["new_block", "new_transaction", "new_payment"]
Expand Down
1 change: 1 addition & 0 deletions bitcart/coins/xmr.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

class XMR(ETH):
coin_name = "XMR"
xpub_name = "Secret viewkey"
friendly_name = "Monero"
RPC_URL = "http://localhost:5011"
additional_xpub_fields = ["address"]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name="bitcart",
packages=find_packages(),
version="1.11.0.0",
version="1.11.1.0",
license="MIT",
description="BitcartCC coins support library",
long_description=open("README.md").read(),
Expand Down

0 comments on commit 5665521

Please sign in to comment.