diff --git a/.changeset/chatty-brooms-draw.md b/.changeset/chatty-brooms-draw.md new file mode 100644 index 0000000000..05e882c6ed --- /dev/null +++ b/.changeset/chatty-brooms-draw.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Updated `nativeCurrency` for `defichainEvmTestnet` and `defichainEvm`. diff --git a/src/chains/definitions/defichainEvm.ts b/src/chains/definitions/defichainEvm.ts index 7b28f00db9..3c24cdf6aa 100644 --- a/src/chains/definitions/defichainEvm.ts +++ b/src/chains/definitions/defichainEvm.ts @@ -7,7 +7,7 @@ export const defichainEvm = /*#__PURE__*/ defineChain({ nativeCurrency: { name: 'DeFiChain', symbol: 'DFI', - decimals: 8, + decimals: 18, }, rpcUrls: { default: { diff --git a/src/chains/definitions/defichainEvmTestnet.ts b/src/chains/definitions/defichainEvmTestnet.ts index a03f588adc..7b80c84404 100644 --- a/src/chains/definitions/defichainEvmTestnet.ts +++ b/src/chains/definitions/defichainEvmTestnet.ts @@ -7,7 +7,7 @@ export const defichainEvmTestnet = /*#__PURE__*/ defineChain({ nativeCurrency: { name: 'DeFiChain', symbol: 'DFI', - decimals: 8, + decimals: 18, }, rpcUrls: { default: {