add sepolia

pull/2910/head
yann300 2 years ago
parent 2543b1422e
commit b8b0aa5150
  1. 2
      apps/remix-ide/src/blockchain/execution-context.js
  2. 3
      apps/remix-ide/src/blockchain/helper.ts
  3. 3
      libs/remix-debug/src/init.ts

@ -93,6 +93,7 @@ export class ExecutionContext {
else if (id === 4) name = 'Rinkeby' else if (id === 4) name = 'Rinkeby'
else if (id === 5) name = 'Goerli' else if (id === 5) name = 'Goerli'
else if (id === 42) name = 'Kovan' else if (id === 42) name = 'Kovan'
else if (id === 11155111) name = 'Sepolia'
else name = 'Custom' else name = 'Custom'
if (id === '1') { if (id === '1') {
@ -250,6 +251,7 @@ export class ExecutionContext {
Main: 'https://www.etherscan.io/tx/', Main: 'https://www.etherscan.io/tx/',
Rinkeby: 'https://rinkeby.etherscan.io/tx/', Rinkeby: 'https://rinkeby.etherscan.io/tx/',
Ropsten: 'https://ropsten.etherscan.io/tx/', Ropsten: 'https://ropsten.etherscan.io/tx/',
Sepolia: 'https://sepolia.etherscan.io/tx/',
Kovan: 'https://kovan.etherscan.io/tx/', Kovan: 'https://kovan.etherscan.io/tx/',
Goerli: 'https://goerli.etherscan.io/tx/' Goerli: 'https://goerli.etherscan.io/tx/'
} }

@ -3,7 +3,8 @@ const transactionDetailsLinks = {
Rinkeby: 'https://rinkeby.etherscan.io/tx/', Rinkeby: 'https://rinkeby.etherscan.io/tx/',
Ropsten: 'https://ropsten.etherscan.io/tx/', Ropsten: 'https://ropsten.etherscan.io/tx/',
Kovan: 'https://kovan.etherscan.io/tx/', Kovan: 'https://kovan.etherscan.io/tx/',
Goerli: 'https://goerli.etherscan.io/tx/' Goerli: 'https://goerli.etherscan.io/tx/',
Sepolia: 'https://sepolia.etherscan.io/tx/'
} }
export function etherScanLink (network: string, hash: string): string { export function etherScanLink (network: string, hash: string): string {

@ -22,7 +22,8 @@ export function web3DebugNode (network) {
Main: 'https://rpc.archivenode.io/e50zmkroshle2e2e50zm0044i7ao04ym', Main: 'https://rpc.archivenode.io/e50zmkroshle2e2e50zm0044i7ao04ym',
Rinkeby: 'https://remix-rinkeby.ethdevops.io', Rinkeby: 'https://remix-rinkeby.ethdevops.io',
Ropsten: 'https://remix-ropsten.ethdevops.io', Ropsten: 'https://remix-ropsten.ethdevops.io',
Goerli: 'https://remix-goerli.ethdevops.io' Goerli: 'https://remix-goerli.ethdevops.io',
Sepolia: 'https://remix-sepolia.ethdevops.io'
} }
if (web3DebugNodes[network]) { if (web3DebugNodes[network]) {
return loadWeb3(web3DebugNodes[network]) return loadWeb3(web3DebugNodes[network])

Loading…
Cancel
Save