mirror of
https://github.com/aljazceru/ark.git
synced 2026-01-26 23:04:19 +01:00
* Fix naming * Fix Ark key encoding & Add new encoding for address, relay and url * Fix submodule name * Fix test target * Update go deps * Fix prefixes && Use bech32m && Encode asp and user keys in address * Fix tests * Parametrize ark prefix && Add network params * Named return values
26 lines
379 B
Go
26 lines
379 B
Go
package common
|
|
|
|
type Network struct {
|
|
Name string
|
|
SecKey string
|
|
PubKey string
|
|
RelayKey string
|
|
Addr string
|
|
}
|
|
|
|
var MainNet = Network{
|
|
Name: "mainnet",
|
|
SecKey: "asec",
|
|
PubKey: "apub",
|
|
RelayKey: "arelay",
|
|
Addr: "ark",
|
|
}
|
|
|
|
var TestNet = Network{
|
|
Name: "testnet",
|
|
SecKey: "tasec",
|
|
PubKey: "tapub",
|
|
RelayKey: "tarelay",
|
|
Addr: "tark",
|
|
}
|