diff --git a/CHANGELOG.md b/CHANGELOG.md index e89eb6c..5921037 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Latest changes +Add Ethereum on Arbitrum (ARBETH) support + ## 1.19.1.2 Include PEP740 digital attestations with release diff --git a/README.md b/README.md index 2e71c3e..eb36d63 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Coins support(⚡ means lightning is supported): - Ethereum - Binance coin (BNB) - Polygon (MATIC) +- Ethereum on Arbitrum (ARBETH) - Tron (TRX) - Ergon - Litecoin (⚡) diff --git a/bitcart/__init__.py b/bitcart/__init__.py index 51b74ef..60f5877 100644 --- a/bitcart/__init__.py +++ b/bitcart/__init__.py @@ -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 diff --git a/bitcart/coins/__init__.py b/bitcart/coins/__init__.py index 6b24848..b370b45 100644 --- a/bitcart/coins/__init__.py +++ b/bitcart/coins/__init__.py @@ -1,3 +1,4 @@ +from .arbeth import ARBETH from .bch import BCH from .bnb import BNB from .btc import BTC @@ -20,6 +21,7 @@ "TRX": TRX, "XRG": XRG, "GRS": GRS, + "ARBETH": ARBETH, } __all__ = list(COINS.keys()) + ["COINS"] diff --git a/bitcart/coins/arbeth.py b/bitcart/coins/arbeth.py new file mode 100644 index 0000000..8c0b267 --- /dev/null +++ b/bitcart/coins/arbeth.py @@ -0,0 +1,7 @@ +from .eth import ETH + + +class ARBETH(ETH): + coin_name = "ARBETH" + friendly_name = "Ethereum (Arbitrum)" + RPC_URL = "http://localhost:5012" diff --git a/docs/content/api.md b/docs/content/api.md index 4e280cc..51ab7dc 100644 --- a/docs/content/api.md +++ b/docs/content/api.md @@ -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 diff --git a/docs/content/index.md b/docs/content/index.md index 6b24a53..755099c 100644 --- a/docs/content/index.md +++ b/docs/content/index.md @@ -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:)