Skip to content

Commit

Permalink
chore: add hedera (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrsirapop authored Sep 17, 2024
1 parent 70ebcf2 commit 75f88fa
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 6 deletions.
54 changes: 54 additions & 0 deletions config/chains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3990,6 +3990,33 @@ testnet:
address_path: "/address/{address}"
contract_path: "/token/{address}"
transaction_path: "/tx/{tx}"
hedera:
chain_id: 296
chain_name: "hedera"
maintainer_id: "hedera"
multisig_prover:
address: ""
voting_verifier:
address: ""
endpoints:
rpc:
- "https://testnet.hashio.io/api"
native_token:
name: "Hedera"
symbol: "HBAR"
decimals: 18
name: "Hedera (VM)"
short_name: "HBAR"
image: "/logos/chains/hedera.svg"
color: "#000000"
explorer:
name: "Hashscan"
url: "https://hashscan.io/testnet"
icon: "/logos/explorers/hedera.png"
block_path: "/block/{block}"
address_path: "/account/{address}"
contract_path: "/token/{address}"
transaction_path: "/transaction/{tx}"



Expand Down Expand Up @@ -4487,6 +4514,33 @@ stagenet:
address_path: "/address/{address}"
contract_path: "/token/{address}"
transaction_path: "/tx/{tx}"
hedera:
chain_id: 296
chain_name: "hedera"
maintainer_id: "hedera"
multisig_prover:
address: ""
voting_verifier:
address: ""
endpoints:
rpc:
- "https://testnet.hashio.io/api"
native_token:
name: "Hedera"
symbol: "HBAR"
decimals: 18
name: "Hedera (VM)"
short_name: "HBAR"
image: "/logos/chains/hedera.svg"
color: "#000000"
explorer:
name: "Hashscan"
url: "https://hashscan.io/testnet"
icon: "/logos/explorers/hedera.png"
block_path: "/block/{block}"
address_path: "/account/{address}"
contract_path: "/token/{address}"
transaction_path: "/transaction/{tx}"



Expand Down
3 changes: 3 additions & 0 deletions config/tokens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ XRP:
decimals: 6
XRPL:
redirect: "XRP"
HBAR:
coingecko_id: "hedera-hashgraph"
decimals: 18
wAXL:
redirect: "AXL"
WAXL:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "axelarscan-api",
"version": "0.0.75",
"version": "0.0.76",
"description": "Axelarscan API",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion terraform/devnet-amplifier/variables.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ variable "log_level" {

variable "app_version" {
description = "App version, same as docker image version"
default = "0.0.75"
default = "0.0.76"
validation {
error_message = "Must be valid semantic version. $Major.$Minor.$Patch"
condition = can(regex("^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", var.app_version))
Expand Down
2 changes: 1 addition & 1 deletion terraform/devnet-verifiers/variables.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ variable "log_level" {

variable "app_version" {
description = "App version, same as docker image version"
default = "0.0.75"
default = "0.0.76"
validation {
error_message = "Must be valid semantic version. $Major.$Minor.$Patch"
condition = can(regex("^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", var.app_version))
Expand Down
2 changes: 1 addition & 1 deletion terraform/mainnet/variables.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ variable "log_level" {

variable "app_version" {
description = "App version, same as docker image version"
default = "0.0.75"
default = "0.0.76"
validation {
error_message = "Must be valid semantic version. $Major.$Minor.$Patch"
condition = can(regex("^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", var.app_version))
Expand Down
2 changes: 1 addition & 1 deletion terraform/stagenet/variables.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ variable "log_level" {

variable "app_version" {
description = "App version, same as docker image version"
default = "0.0.75"
default = "0.0.76"
validation {
error_message = "Must be valid semantic version. $Major.$Minor.$Patch"
condition = can(regex("^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", var.app_version))
Expand Down
2 changes: 1 addition & 1 deletion terraform/testnet/variables.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ variable "log_level" {

variable "app_version" {
description = "App version, same as docker image version"
default = "0.0.75"
default = "0.0.76"
validation {
error_message = "Must be valid semantic version. $Major.$Minor.$Patch"
condition = can(regex("^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", var.app_version))
Expand Down

0 comments on commit 75f88fa

Please sign in to comment.