Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Latest changes

Add Ethereum on Arbitrum (ARBETH) support

## 1.19.1.2

Include PEP740 digital attestations with release
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Coins support(⚡ means lightning is supported):
- Ethereum
- Binance coin (BNB)
- Polygon (MATIC)
- Ethereum on Arbitrum (ARBETH)
- Tron (TRX)
- Ergon
- Litecoin (⚡)
Expand Down
2 changes: 1 addition & 1 deletion bitcart/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from universalasync import wrap

from .coins import BCH, BNB, BTC, COINS, ETH, GRS, LTC, MATIC, TRX, XMR, XRG # noqa: F401
from .coins import ARBETH, BCH, BNB, BTC, COINS, ETH, GRS, LTC, MATIC, TRX, XMR, XRG # noqa: F401
from .errors import errors
from .manager import APIManager
from .providers.jsonrpcrequests import RPCProxy
Expand Down
2 changes: 2 additions & 0 deletions bitcart/coins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from .arbeth import ARBETH
from .bch import BCH
from .bnb import BNB
from .btc import BTC
Expand All @@ -20,6 +21,7 @@
"TRX": TRX,
"XRG": XRG,
"GRS": GRS,
"ARBETH": ARBETH,
}

__all__ = list(COINS.keys()) + ["COINS"]
7 changes: 7 additions & 0 deletions bitcart/coins/arbeth.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from .eth import ETH


class ARBETH(ETH):
coin_name = "ARBETH"
friendly_name = "Ethereum (Arbitrum)"
RPC_URL = "http://localhost:5012"
6 changes: 6 additions & 0 deletions docs/content/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ Polygon (MATIC) support is based on our custom daemon implementation which tries

::: bitcart.coins.matic.MATIC

### Ethereum on Arbitrum (ARBETH)

Ethereum on Arbitrum (ARBETH) support is based on our custom daemon implementation which tries to follow electrum APIs as closely as possible

::: bitcart.coins.arbeth.ARBETH

### TRON (TRX)

TRON (TRX) support is based on our custom daemon implementation which tries to follow electrum APIs as closely as possible
Expand Down
1 change: 1 addition & 0 deletions docs/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Supported coins list (:zap: means lightning is supported):
- Ethereum
- Binance coin (BNB)
- Polygon (MATIC)
- Ethereum on Arbitrum (ARBETH)
- Tron (TRX)
- Ergon
- Litecoin (:zap:)
Expand Down