diff --git a/templates/phaser/packages/client/package.json b/templates/phaser/packages/client/package.json index 174b710cf2..e8cbdbdd76 100644 --- a/templates/phaser/packages/client/package.json +++ b/templates/phaser/packages/client/package.json @@ -30,6 +30,7 @@ "simplex-noise": "^4.0.1", "styled-components": "^5.3.10", "use-resize-observer": "^9.1.0", + "viem": "1.3.0", "zustand": "^4.3.8" }, "devDependencies": { diff --git a/templates/react/packages/client/package.json b/templates/react/packages/client/package.json index ed62000f8f..7c8cd6d815 100644 --- a/templates/react/packages/client/package.json +++ b/templates/react/packages/client/package.json @@ -24,7 +24,8 @@ "contracts": "workspace:*", "ethers": "^5.7.2", "react": "^18.2.0", - "react-dom": "^18.2.0" + "react-dom": "^18.2.0", + "viem": "1.3.0" }, "devDependencies": { "@types/react": "^18.2.6", diff --git a/templates/threejs/packages/client/package.json b/templates/threejs/packages/client/package.json index 7ca6f2c6d6..9714f0ee97 100644 --- a/templates/threejs/packages/client/package.json +++ b/templates/threejs/packages/client/package.json @@ -25,7 +25,8 @@ "contracts": "workspace:*", "ethers": "^5.7.2", "react": "^18.2.0", - "react-dom": "^18.2.0" + "react-dom": "^18.2.0", + "viem": "1.3.0" }, "devDependencies": { "@types/react": "^18.2.6", diff --git a/templates/vanilla/packages/client/package.json b/templates/vanilla/packages/client/package.json index 9594383d94..9cc566272f 100644 --- a/templates/vanilla/packages/client/package.json +++ b/templates/vanilla/packages/client/package.json @@ -21,7 +21,8 @@ "@latticexyz/utils": "link:../../../../packages/utils", "@latticexyz/world": "link:../../../../packages/world", "contracts": "workspace:*", - "ethers": "^5.7.2" + "ethers": "^5.7.2", + "viem": "1.3.0" }, "devDependencies": { "vite": "^4.2.1",