mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
Replace Rinkeby testnet with Goerli
Rinkeby has been sunsetted in favour of Goerli after the Ethereum merge. Deployed `phase0` from radicle-contracts, some vesting contracts and the faucet from `radicle-faucet` to the Goerli testnet and adjusted the code. The `reverseRegistrar` was obtained from: https://app.ens.domains/name/addr.reverse/details Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
+2
-2
@@ -292,8 +292,8 @@ export function getSearchParam(
|
||||
|
||||
// Get the explorer link of an address, eg. Etherscan.
|
||||
export function explorerLink(addr: string, config: Config): string {
|
||||
if (config.network.name === "rinkeby") {
|
||||
return `https://rinkeby.etherscan.io/address/${addr}`;
|
||||
if (config.network.name === "goerli") {
|
||||
return `https://goerli.etherscan.io/address/${addr}`;
|
||||
}
|
||||
return `https://etherscan.io/address/${addr}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user