Skip to content

Commit

Permalink
Merge pull request #566 from cosmostation/support-chain
Browse files Browse the repository at this point in the history
Update ChainElys / Support Synternet, Router, Realio chain
  • Loading branch information
wannabit-yongjoo authored Dec 15, 2024
2 parents 1984f27 + 59ddff0 commit 4901ae7
Show file tree
Hide file tree
Showing 13 changed files with 158 additions and 3 deletions.
12 changes: 12 additions & 0 deletions Cosmostation.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1661,6 +1661,9 @@
796CC3622C6B60E000FEC658 /* SuiStakingInfoSheet.xib in Resources */ = {isa = PBXBuildFile; fileRef = 796CC3612C6B60E000FEC658 /* SuiStakingInfoSheet.xib */; };
796CC3632C6C3B0C00FEC658 /* SuiStakingInfoSheet.xib in Resources */ = {isa = PBXBuildFile; fileRef = 796CC3612C6B60E000FEC658 /* SuiStakingInfoSheet.xib */; };
7981F75C2D0C1CAB00BB50DA /* ChainElys.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7981F75B2D0C1CAB00BB50DA /* ChainElys.swift */; };
7981F75E2D0C31E900BB50DA /* ChainSynternet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7981F75D2D0C31E900BB50DA /* ChainSynternet.swift */; };
7981F7622D0C333E00BB50DA /* ChainRouterEVM.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7981F7612D0C333E00BB50DA /* ChainRouterEVM.swift */; };
7981F7642D0C343D00BB50DA /* ChainRealioEVM.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7981F7632D0C343D00BB50DA /* ChainRealioEVM.swift */; };
7987524A2CFFF32C00308EAC /* ChainAaron.swift in Sources */ = {isa = PBXBuildFile; fileRef = 798752492CFFF32C00308EAC /* ChainAaron.swift */; };
79C5186F2CC76A8F00BC0E85 /* ChainKaia.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79C5186E2CC76A8F00BC0E85 /* ChainKaia.swift */; };
79C518732CC8E08D00BC0E85 /* ChainJackal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79C518722CC8E08D00BC0E85 /* ChainJackal.swift */; };
Expand Down Expand Up @@ -3066,6 +3069,9 @@
796CC35F2C6B60CA00FEC658 /* SuiStakingInfoSheet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SuiStakingInfoSheet.swift; sourceTree = "<group>"; };
796CC3612C6B60E000FEC658 /* SuiStakingInfoSheet.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = SuiStakingInfoSheet.xib; sourceTree = "<group>"; };
7981F75B2D0C1CAB00BB50DA /* ChainElys.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChainElys.swift; sourceTree = "<group>"; };
7981F75D2D0C31E900BB50DA /* ChainSynternet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChainSynternet.swift; sourceTree = "<group>"; };
7981F7612D0C333E00BB50DA /* ChainRouterEVM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChainRouterEVM.swift; sourceTree = "<group>"; };
7981F7632D0C343D00BB50DA /* ChainRealioEVM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChainRealioEVM.swift; sourceTree = "<group>"; };
798752492CFFF32C00308EAC /* ChainAaron.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChainAaron.swift; sourceTree = "<group>"; };
79C5186E2CC76A8F00BC0E85 /* ChainKaia.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChainKaia.swift; sourceTree = "<group>"; };
79C518722CC8E08D00BC0E85 /* ChainJackal.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChainJackal.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -3457,6 +3463,8 @@
045032362C1EEA9600235F6A /* ChainOptimism.swift */,
79C5187A2CC9E8C200BC0E85 /* ChainPlanqEVM.swift */,
045032332C1EEA9500235F6A /* ChainPolygon.swift */,
7981F7632D0C343D00BB50DA /* ChainRealioEVM.swift */,
7981F7612D0C333E00BB50DA /* ChainRouterEVM.swift */,
79D556082CE2F2760023F1B9 /* ChainShidoEVM.swift */,
E15F81EF2D0B1D9C0069C533 /* ChainStoryEVM.swift */,
0485A50C2CDA473400DE1661 /* ChainTenetEVM.swift */,
Expand Down Expand Up @@ -3559,6 +3567,7 @@
045032FC2C1F029900235F6A /* ChainStargaze.swift */,
045032F82C1F029900235F6A /* ChainStarname.swift */,
045032FF2C1F029A00235F6A /* ChainStride.swift */,
7981F75D2D0C31E900BB50DA /* ChainSynternet.swift */,
0450331A2C1F045900235F6A /* ChainTeritori.swift */,
045033192C1F045900235F6A /* ChainTerra.swift */,
E1BC05932CE73A1C0060A2B3 /* ChainThor.swift */,
Expand Down Expand Up @@ -6706,6 +6715,7 @@
E1DF777B2AB75F830028BD51 /* CheckPrivateKeysVC.swift in Sources */,
047843D92AC991B300462F1C /* injective_insurance_v1beta1_insurance.pb.swift in Sources */,
047843112AC9918700462F1C /* ethermint_types_v1_account.pb.swift in Sources */,
7981F7642D0C343D00BB50DA /* ChainRealioEVM.swift in Sources */,
04C816AE2BA98D75006B800A /* cosmos_genutil_v1beta1_genesis.pb.swift in Sources */,
04C816FA2BA98D75006B800A /* cosmos_gov_v1_query.grpc.swift in Sources */,
04CD24762AD2E99A00497EF5 /* kava_bep3_v1beta1_query.grpc.swift in Sources */,
Expand Down Expand Up @@ -7383,7 +7393,9 @@
047843BD2AC991B300462F1C /* injective_ocr_v1beta1_ocr.pb.swift in Sources */,
04B789812ACAC9B100E9BE88 /* ibc_applications_transfer_v2_packet.pb.swift in Sources */,
E159809C2A83A9C50032892B /* SlideInTransition.swift in Sources */,
7981F7622D0C333E00BB50DA /* ChainRouterEVM.swift in Sources */,
E13FC54F2B26C79A0082C66E /* kava_earn_v1beta1_query.pb.swift in Sources */,
7981F75E2D0C31E900BB50DA /* ChainSynternet.swift in Sources */,
792613A32CD4B82800FAF47D /* initia_intertx_v1_query.pb.swift in Sources */,
E122DC4A2A8A4712006D1E7B /* tendermint_version_types.pb.swift in Sources */,
04C816BE2BA98D75006B800A /* cosmos_counter_v1_tx.pb.swift in Sources */,
Expand Down
3 changes: 3 additions & 0 deletions Cosmostation/Chains/BaseChain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,10 @@ func ALLCHAINS() -> [BaseChain] {
result.append(ChainPryzm())
result.append(ChainQuasar())
result.append(ChainQuicksilver())
result.append(ChainRealioEVM())
result.append(ChainRegen())
result.append(ChainRizon())
result.append(ChainRouterEVM())
result.append(ChainSaga())
result.append(ChainSecret118())
result.append(ChainSecret529())
Expand All @@ -706,6 +708,7 @@ func ALLCHAINS() -> [BaseChain] {
// result.append(ChainStoryEVM()) //EVM
result.append(ChainStride())
result.append(ChainSui()) //MAJOR
result.append(ChainSynternet())
result.append(ChainTenetEVM()) //EVM
result.append(ChainTeritori())
result.append(ChainTerra())
Expand Down
7 changes: 4 additions & 3 deletions Cosmostation/Chains/ClassCosmos/ChainElys.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ class ChainElys: BaseChain {
accountKeyType = AccountKeyType(.COSMOS_Secp256k1, "m/44'/118'/0'/0/X")


cosmosEndPointType = .UseLCD
cosmosEndPointType = .UseGRPC
stakeDenom = "uelys"
bechAccountPrefix = "elys"
validatorPrefix = "elysvaloper"
grpcHost = ""
lcdUrl = "https://elys-api.polkachu.com/"
supportStaking = false
grpcHost = "grpc-elys.cosmostation.io"
lcdUrl = "lcd-elys.cosmostation.io/"
}
}
30 changes: 30 additions & 0 deletions Cosmostation/Chains/ClassCosmos/ChainSynternet.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// ChainSynternet.swift
// Cosmostation
//
// Created by 차소민 on 12/13/24.
// Copyright © 2024 wannabit. All rights reserved.
//

import Foundation

class ChainSynternet: BaseChain {

override init() {
super.init()

name = "Synternet"
tag = "synternet118"
logo1 = "chainSynternet"
apiName = "synternet"
accountKeyType = AccountKeyType(.COSMOS_Secp256k1, "m/44'/118'/0'/0/X")


cosmosEndPointType = .UseLCD
stakeDenom = "usynt"
bechAccountPrefix = "synt"
validatorPrefix = "syntvaloper"
grpcHost = ""
lcdUrl = "https://api.synternet.com/"
}
}
37 changes: 37 additions & 0 deletions Cosmostation/Chains/ClassEVM/ChainRealioEVM.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
//
// ChainRealioEVM.swift
// Cosmostation
//
// Created by 차소민 on 12/13/24.
// Copyright © 2024 wannabit. All rights reserved.
//

import Foundation

class ChainRealioEVM: BaseChain {

override init() {
super.init()

name = "Realio"
tag = "realio60"
logo1 = "chainRealio"
apiName = "realio"
accountKeyType = AccountKeyType(.ETH_Keccak256, "m/44'/60'/0'/0/X")


cosmosEndPointType = .UseLCD
stakeDenom = "ario"
bechAccountPrefix = "realio"
validatorPrefix = "realiovaloper"
grpcHost = ""
lcdUrl = "https://realio-api.genznodes.dev/"

supportEvm = true
coinSymbol = "RIO"
coinGeckoId = "realio-network"
coinLogo = "tokenRio"
evmRpcURL = "https://realio-rpc-evm.genznodes.dev"
}

}
36 changes: 36 additions & 0 deletions Cosmostation/Chains/ClassEVM/ChainRouterEVM.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
//
// ChainRouterEVM.swift
// Cosmostation
//
// Created by 차소민 on 12/13/24.
// Copyright © 2024 wannabit. All rights reserved.
//

import Foundation

class ChainRouterEVM: BaseChain {

override init() {
super.init()

name = "Routerchain"
tag = "router60"
logo1 = "chainRouter"
apiName = "routerchain"
accountKeyType = AccountKeyType(.ETH_Keccak256, "m/44'/60'/0'/0/X")


cosmosEndPointType = .UseLCD
stakeDenom = "route"
bechAccountPrefix = "router"
validatorPrefix = "routervaloper"
grpcHost = "grpc.router.nodestake.org"
lcdUrl = "https://sentry.lcd.routerprotocol.com/"

supportEvm = true
coinSymbol = "ROUTE"
coinGeckoId = "router-protocol-2"
coinLogo = "tokenRoute"
evmRpcURL = "https://sentry.evm.rpc.routerprotocol.com"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "chainRealio.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "chainRouter.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "chainSynternet.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4901ae7

Please sign in to comment.