diff --git a/.changeset/cyan-taxis-learn.md b/.changeset/cyan-taxis-learn.md new file mode 100644 index 0000000000..1df7261186 --- /dev/null +++ b/.changeset/cyan-taxis-learn.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added Redstone chain. diff --git a/src/chains/definitions/redstone.ts b/src/chains/definitions/redstone.ts new file mode 100644 index 0000000000..5744066bec --- /dev/null +++ b/src/chains/definitions/redstone.ts @@ -0,0 +1,20 @@ +import { defineChain } from '../../utils/chain/defineChain.js' + +export const redstone = defineChain({ + id: 690, + name: 'Redstone', + nativeCurrency: { + decimals: 18, + name: 'Ether', + symbol: 'ETH', + }, + rpcUrls: { + default: { + http: ['https://rpc.redstonechain.com'], + webSocket: ['wss://rpc.redstonechain.com'], + }, + }, + blockExplorers: { + default: { name: 'Explorer', url: ' https://explorer.redstone.xyz' }, + }, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index 67d1f66a71..92717e376f 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -199,6 +199,7 @@ export { pulsechain } from './definitions/pulsechain.js' export { pulsechainV4 } from './definitions/pulsechainV4.js' export { qMainnet } from './definitions/qMainnet.js' export { qTestnet } from './definitions/qTestnet.js' +export { redstone } from './definitions/redstone.js' export { reyaNetwork } from './definitions/reyaNetwork.js' export { rollux } from './definitions/rollux.js' export { rolluxTestnet } from './definitions/rolluxTestnet.js'