Skip to content

Commit 5665521

Browse files
committed
Version 1.11.1.0
1 parent 66a9107 commit 5665521

File tree

6 files changed

+9
-1
lines changed

6 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Latest changes
44

5+
## 1.11.1.0
6+
7+
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)
8+
59
## 1.11.0.0
610

711
Change license to MIT license

bitcart/coin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
class Coin:
55
coin_name: str
6+
xpub_name: str
67
friendly_name: str
78
event_handlers: Dict[str, Callable]
89
xpub: Optional[str]

bitcart/coins/btc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ async def wrapper(*args: Any, **kwargs: Any) -> Any:
2929

3030
class BTC(Coin, EventDelivery):
3131
coin_name = "BTC"
32+
xpub_name = "Xpub"
3233
friendly_name = "Bitcoin"
3334
RPC_URL = "http://localhost:5000"
3435
RPC_USER = "electrum"

bitcart/coins/eth.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
class ETH(BTC):
88
coin_name = "ETH"
9+
xpub_name = "Address"
910
friendly_name = "Ethereum"
1011
RPC_URL = "http://localhost:5002"
1112
ALLOWED_EVENTS = ["new_block", "new_transaction", "new_payment"]

bitcart/coins/xmr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
class XMR(ETH):
55
coin_name = "XMR"
6+
xpub_name = "Secret viewkey"
67
friendly_name = "Monero"
78
RPC_URL = "http://localhost:5011"
89
additional_xpub_fields = ["address"]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name="bitcart",
55
packages=find_packages(),
6-
version="1.11.0.0",
6+
version="1.11.1.0",
77
license="MIT",
88
description="BitcartCC coins support library",
99
long_description=open("README.md").read(),

0 commit comments

Comments
 (0)