-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
soaryong-c
committed
Jan 18, 2023
1 parent
0b43e60
commit 07a3220
Showing
3 changed files
with
15 additions
and
3 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
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
7 changes: 7 additions & 0 deletions
7
suikotlin/src/main/java/io/cosmostation/suikotlin/model/Network.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,7 @@ | ||
package io.cosmostation.suikotlin.model | ||
|
||
sealed class Network(val name: String, val rpcUrl: String) { | ||
class Devnet : Network("Devnet", "https://fullnode.devnet.sui.io") | ||
class Testnet : Network("Testnet", "https://fullnode.testnet.sui.io") | ||
class Localnet : Network("Localhost", "http://127.0.0.1:9000") | ||
} |