Support beacon chain (#436)

This commit is contained in:
KirillPamPam
2024-03-15 17:46:29 +04:00
committed by GitHub
parent d5414f947e
commit d44b72ec69
152 changed files with 2498 additions and 1382 deletions

View File

@@ -1,5 +1,18 @@
package io.emeraldpay.dshackle
enum class BlockchainType {
UNKNOWN, BITCOIN, ETHEREUM, STARKNET, POLKADOT, SOLANA, NEAR;
enum class BlockchainType(
val apiType: ApiType,
) {
UNKNOWN(ApiType.JSON_RPC),
BITCOIN(ApiType.JSON_RPC),
ETHEREUM(ApiType.JSON_RPC),
STARKNET(ApiType.JSON_RPC),
POLKADOT(ApiType.JSON_RPC),
SOLANA(ApiType.JSON_RPC),
NEAR(ApiType.JSON_RPC),
ETHEREUM_BEACON_CHAIN(ApiType.REST);
}
enum class ApiType {
JSON_RPC, REST;
}