near protocol support

This commit is contained in:
a10zn8
2024-02-26 22:26:38 +03:00
parent f84add8948
commit 8c5e69a7f5
10 changed files with 242 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
package io.emeraldpay.dshackle
enum class BlockchainType {
UNKNOWN, BITCOIN, ETHEREUM, STARKNET, POLKADOT, SOLANA;
}
UNKNOWN, BITCOIN, ETHEREUM, STARKNET, POLKADOT, SOLANA, NEAR;
}

View File

@@ -1275,3 +1275,31 @@ chain-settings:
grpcId: 10063
short-names: [ telos-testnet ]
chain-id: 0x29
- id: near
label: Near
type: near
settings:
fork-choice: quorum
expected-block-time: 1s
lags:
syncing: 40
lagging: 20
chains:
- id: Mainnet
priority: 100
code: NEAR_MAINNET
grpcId: 1050
short-names: [ near ]
chain-id: 0x0
- id: Testnet
priority: 5
code: NEAR_TESTNET
grpcId: 10064
short-names: [ near-testnet ]
chain-id: 0x0
- id: Betanet
priority: 1
code: NEAR_BETANET
grpcId: 10065
short-names: [ near-betanet ]
chain-id: 0x0