-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #658 from cosmostation/feature/APP-main_hyuk_dev
Feature/app main hyuk dev
- Loading branch information
Showing
34 changed files
with
230 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
app/src/main/java/wannabit/io/cosmostaion/chain/cosmosClass/ChainDoravota.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package wannabit.io.cosmostaion.chain.cosmosClass | ||
|
||
import android.os.Parcelable | ||
import com.google.common.collect.ImmutableList | ||
import kotlinx.parcelize.Parcelize | ||
import org.bitcoinj.crypto.ChildNumber | ||
import wannabit.io.cosmostaion.R | ||
import wannabit.io.cosmostaion.chain.AccountKeyType | ||
import wannabit.io.cosmostaion.chain.BaseChain | ||
import wannabit.io.cosmostaion.chain.CosmosEndPointType | ||
import wannabit.io.cosmostaion.chain.PubKeyType | ||
|
||
@Parcelize | ||
class ChainDoravota : BaseChain(), Parcelable { | ||
|
||
override var name: String = "Dora vota" | ||
override var tag: String = "Doravota118" | ||
override var logo: Int = R.drawable.chain_doravota | ||
override var apiName: String = "doravota" | ||
|
||
override var accountKeyType = AccountKeyType(PubKeyType.COSMOS_SECP256K1, "m/44'/118'/0'/0/X") | ||
override var setParentPath: List<ChildNumber> = ImmutableList.of( | ||
ChildNumber(44, true), ChildNumber(118, true), ChildNumber.ZERO_HARDENED, ChildNumber.ZERO | ||
) | ||
|
||
override var cosmosEndPointType: CosmosEndPointType? = CosmosEndPointType.USE_LCD | ||
override var stakeDenom: String = "peaka" | ||
override var accountPrefix: String = "dora" | ||
override var grpcHost: String = "vota-grpc.dorafactory.org" | ||
override var lcdUrl: String = "https://vota-rest.dorafactory.org/" | ||
} |
31 changes: 31 additions & 0 deletions
31
app/src/main/java/wannabit/io/cosmostaion/chain/cosmosClass/ChainFirma.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package wannabit.io.cosmostaion.chain.cosmosClass | ||
|
||
import android.os.Parcelable | ||
import com.google.common.collect.ImmutableList | ||
import kotlinx.parcelize.Parcelize | ||
import org.bitcoinj.crypto.ChildNumber | ||
import wannabit.io.cosmostaion.R | ||
import wannabit.io.cosmostaion.chain.AccountKeyType | ||
import wannabit.io.cosmostaion.chain.BaseChain | ||
import wannabit.io.cosmostaion.chain.CosmosEndPointType | ||
import wannabit.io.cosmostaion.chain.PubKeyType | ||
|
||
@Parcelize | ||
class ChainFirma : BaseChain(), Parcelable { | ||
|
||
override var name: String = "Firmachain" | ||
override var tag: String = "Firmachain7777777" | ||
override var logo: Int = R.drawable.chain_firmachain | ||
override var apiName: String = "firmachain" | ||
|
||
override var accountKeyType = AccountKeyType(PubKeyType.COSMOS_SECP256K1, "m/44'/7777777'/0'/0/X") | ||
override var setParentPath: List<ChildNumber> = ImmutableList.of( | ||
ChildNumber(44, true), ChildNumber(7777777, true), ChildNumber.ZERO_HARDENED, ChildNumber.ZERO | ||
) | ||
|
||
override var cosmosEndPointType: CosmosEndPointType? = CosmosEndPointType.USE_LCD | ||
override var stakeDenom: String = "ufct" | ||
override var accountPrefix: String = "firma" | ||
override var grpcHost: String = "" | ||
override var lcdUrl: String = "https://lcd-mainnet.firmachain.dev:1317" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
app/src/main/java/wannabit/io/cosmostaion/chain/evmClass/ChainHaqqEvm.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package wannabit.io.cosmostaion.chain.evmClass | ||
|
||
import android.os.Parcelable | ||
import com.google.common.collect.ImmutableList | ||
import kotlinx.parcelize.Parcelize | ||
import org.bitcoinj.crypto.ChildNumber | ||
import wannabit.io.cosmostaion.R | ||
import wannabit.io.cosmostaion.chain.AccountKeyType | ||
import wannabit.io.cosmostaion.chain.BaseChain | ||
import wannabit.io.cosmostaion.chain.CosmosEndPointType | ||
import wannabit.io.cosmostaion.chain.PubKeyType | ||
|
||
@Parcelize | ||
class ChainHaqqEvm : BaseChain(), Parcelable { | ||
|
||
override var name: String = "Haqq" | ||
override var tag: String = "haqq60" | ||
override var logo: Int = R.drawable.chain_haqq | ||
override var apiName: String = "haqq" | ||
|
||
override var accountKeyType = AccountKeyType(PubKeyType.ETH_KECCAK256, "m/44'/60'/0'/0/X") | ||
override var setParentPath: List<ChildNumber> = ImmutableList.of( | ||
ChildNumber(44, true), ChildNumber(60, true), ChildNumber.ZERO_HARDENED, ChildNumber.ZERO | ||
) | ||
|
||
override var cosmosEndPointType: CosmosEndPointType? = CosmosEndPointType.USE_LCD | ||
override var stakeDenom: String = "aISLM" | ||
override var accountPrefix: String = "haqq" | ||
override var grpcHost: String = "grpc.haqq.sh" | ||
override var lcdUrl: String = "https://rest.cosmos.haqq.network/" | ||
|
||
override var supportEvm: Boolean = true | ||
override var coinSymbol: String = "ISLM" | ||
override var coinGeckoId: String = "islamic-coin" | ||
override var coinLogo: Int = R.drawable.token_islm | ||
override var addressLogo: Int = R.drawable.icon_ethereum_address | ||
override var evmRpcURL: String = "https://rpc.eth.haqq.network" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.