Implement Easthub chain spec (#8295)

This commit is contained in:
East Coin
2018-04-04 23:00:21 +09:00
committed by Marek Kotewicz
parent 991f0cac6e
commit d57944ffb9
4 changed files with 99 additions and 1 deletions

View File

@@ -71,6 +71,11 @@ pub fn new_ellaism<'a, T: Into<SpecParams<'a>>>(params: T) -> Spec {
load(params.into(), include_bytes!("../../res/ethereum/ellaism.json"))
}
/// Create a new Easthub mainnet chain spec.
pub fn new_easthub<'a, T: Into<SpecParams<'a>>>(params: T) -> Spec {
load(params.into(), include_bytes!("../../res/ethereum/easthub.json"))
}
/// Create a new Kovan testnet chain spec.
pub fn new_kovan<'a, T: Into<SpecParams<'a>>>(params: T) -> Spec {
load(params.into(), include_bytes!("../../res/ethereum/kovan.json"))