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
1 change: 1 addition & 0 deletions src/main/java/io/emeraldpay/grpc/BlockchainType.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public static BlockchainType from(Chain chain) {
|| chain == Chain.MATIC
|| chain == Chain.FANTOM
|| chain == Chain.RSK
|| chain == Chain.BSC
|| chain == Chain.TESTNET_KOVAN
|| chain == Chain.TESTNET_MORDEN
|| chain == Chain.TESTNET_GOERLI
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/io/emeraldpay/grpc/Chain.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public enum Chain {
ETHEREUM(100, "ETH", "Ethereum"),
ETHEREUM_CLASSIC(101, "ETC", "Ethereum Classic"),
FANTOM(102, "FTM", "Fantom"),
BSC(103, "BSC", "Binance Smart Chain"),

//LIGHTNING(1001, "BTC_LN", "Bitcoin Lightning"),
MATIC(1002, "MATIC", "Polygon Matic"),
Expand Down Expand Up @@ -70,4 +71,4 @@ public String getChainCode() {
public String getChainName() {
return fullname;
}
}
}