@latticexyz/common 2.2.15-entrykit-3b489ecd8b6521b8bf17d29764011abc42a035c0 → 2.2.15-entrykit-e8cf1c3b5f2440f4c146f6d854e7937b7f9dee97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/chains.d.ts CHANGED
@@ -7,6 +7,7 @@ import * as viem_op_stack from 'viem/op-stack';
7
7
  type MUDChain = Chain & {
8
8
  iconUrls?: readonly string[];
9
9
  indexerUrl?: string;
10
+ mudIdUrl?: string;
10
11
  /** @deprecated */
11
12
  faucetUrl?: string;
12
13
  };
@@ -735,6 +736,7 @@ declare const rhodolite: {
735
736
  };
736
737
  readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/rhodolite.png"];
737
738
  readonly indexerUrl: "https://indexer.mud.rhodolitechain.com";
739
+ readonly mudIdUrl: "https://id.mud.dev";
738
740
  readonly fees: {
739
741
  readonly estimateFeesPerGas: () => Promise<{
740
742
  maxFeePerGas: bigint;
package/dist/chains.js CHANGED
@@ -1,2 +1,2 @@
1
- import{foundry as t}from"viem/chains";var o={...t,fees:{defaultPriorityFee:0n}};import{redstone as s}from"viem/chains";var n={...s,iconUrls:["https://redstone.xyz/chain-icons/redstone.png"],indexerUrl:"https://indexer.mud.redstonechain.com",fees:{estimateFeesPerGas:async()=>({maxFeePerGas:100000n,maxPriorityFeePerGas:0n})}};import{garnet as a}from"viem/chains";var i={...a,iconUrls:["https://redstone.xyz/chain-icons/garnet.png"],indexerUrl:"https://indexer.mud.garnetchain.com",fees:{estimateFeesPerGas:async()=>({maxFeePerGas:100000n,maxPriorityFeePerGas:0n})}};import{chainConfig as r}from"viem/op-stack";var c=17001,e={http:["https://rpc.rhodolitechain.com"],webSocket:["wss://rpc.rhodolitechain.com"]},d={...r,name:"Rhodolite Devnet",testnet:!0,id:17420,sourceId:c,nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:e,bundler:e,quarryPassIssuer:e,wiresaw:e},contracts:{...r.contracts,quarryPaymaster:{address:"0x61f22c3827d90c390e0e2aaf220971524ac0a68d",blockCreated:11262}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.rhodolitechain.com"},worldsExplorer:{name:"MUD Worlds Explorer",url:"https://explorer.mud.dev/rhodolite/worlds"}},iconUrls:["https://redstone.xyz/chain-icons/rhodolite.png"],indexerUrl:"https://indexer.mud.rhodolitechain.com",fees:{estimateFeesPerGas:async()=>({maxFeePerGas:100000n,maxPriorityFeePerGas:0n})}};export{i as garnet,o as mudFoundry,n as redstone,d as rhodolite};
1
+ import{foundry as t}from"viem/chains";var o={...t,fees:{defaultPriorityFee:0n}};import{redstone as s}from"viem/chains";var n={...s,iconUrls:["https://redstone.xyz/chain-icons/redstone.png"],indexerUrl:"https://indexer.mud.redstonechain.com",fees:{estimateFeesPerGas:async()=>({maxFeePerGas:100000n,maxPriorityFeePerGas:0n})}};import{garnet as a}from"viem/chains";var i={...a,iconUrls:["https://redstone.xyz/chain-icons/garnet.png"],indexerUrl:"https://indexer.mud.garnetchain.com",fees:{estimateFeesPerGas:async()=>({maxFeePerGas:100000n,maxPriorityFeePerGas:0n})}};import{chainConfig as r}from"viem/op-stack";var c=17001,e={http:["https://rpc.rhodolitechain.com"],webSocket:["wss://rpc.rhodolitechain.com"]},d={...r,name:"Rhodolite Devnet",testnet:!0,id:17420,sourceId:c,nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:e,bundler:e,quarryPassIssuer:e,wiresaw:e},contracts:{...r.contracts,quarryPaymaster:{address:"0x61f22c3827d90c390e0e2aaf220971524ac0a68d",blockCreated:11262}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.rhodolitechain.com"},worldsExplorer:{name:"MUD Worlds Explorer",url:"https://explorer.mud.dev/rhodolite/worlds"}},iconUrls:["https://redstone.xyz/chain-icons/rhodolite.png"],indexerUrl:"https://indexer.mud.rhodolitechain.com",mudIdUrl:"https://id.mud.dev",fees:{estimateFeesPerGas:async()=>({maxFeePerGas:100000n,maxPriorityFeePerGas:0n})}};export{i as garnet,o as mudFoundry,n as redstone,d as rhodolite};
2
2
  //# sourceMappingURL=chains.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/chains/mudFoundry.ts","../src/chains/redstone.ts","../src/chains/garnet.ts","../src/chains/rhodolite.ts"],"sourcesContent":["import { foundry } from \"viem/chains\";\nimport { MUDChain } from \"./types\";\n\nexport const mudFoundry = {\n ...foundry,\n fees: {\n defaultPriorityFee: 0n,\n },\n} as const satisfies MUDChain;\n","import { redstone as redstoneConfig } from \"viem/chains\";\nimport type { MUDChain } from \"./types\";\n\nexport const redstone = {\n ...redstoneConfig,\n iconUrls: [\"https://redstone.xyz/chain-icons/redstone.png\"],\n indexerUrl: \"https://indexer.mud.redstonechain.com\",\n fees: {\n estimateFeesPerGas: async () => ({\n maxFeePerGas: 100_000n,\n maxPriorityFeePerGas: 0n,\n }),\n },\n} as const satisfies MUDChain;\n","import { garnet as garnetConfig } from \"viem/chains\";\nimport type { MUDChain } from \"./types\";\n\nexport const garnet = {\n ...garnetConfig,\n iconUrls: [\"https://redstone.xyz/chain-icons/garnet.png\"],\n indexerUrl: \"https://indexer.mud.garnetchain.com\",\n fees: {\n estimateFeesPerGas: async () => ({\n maxFeePerGas: 100_000n,\n maxPriorityFeePerGas: 0n,\n }),\n },\n} as const satisfies MUDChain;\n","import { chainConfig } from \"viem/op-stack\";\nimport { MUDChain } from \"./types\";\nimport { Chain } from \"viem\";\n\nconst sourceId = 17001;\n\nconst defaultRpcUrls = {\n http: [\"https://rpc.rhodolitechain.com\"],\n webSocket: [\"wss://rpc.rhodolitechain.com\"],\n} as const satisfies Chain[\"rpcUrls\"][\"default\"];\n\nexport const rhodolite = {\n ...chainConfig,\n name: \"Rhodolite Devnet\",\n testnet: true,\n id: 17420,\n sourceId,\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: defaultRpcUrls,\n bundler: defaultRpcUrls,\n quarryPassIssuer: defaultRpcUrls,\n wiresaw: defaultRpcUrls,\n },\n contracts: {\n ...chainConfig.contracts,\n quarryPaymaster: {\n address: \"0x61f22c3827d90c390e0e2aaf220971524ac0a68d\",\n blockCreated: 11262,\n },\n },\n blockExplorers: {\n default: {\n name: \"Blockscout\",\n url: \"https://explorer.rhodolitechain.com\",\n },\n worldsExplorer: {\n name: \"MUD Worlds Explorer\",\n url: \"https://explorer.mud.dev/rhodolite/worlds\",\n },\n },\n iconUrls: [\"https://redstone.xyz/chain-icons/rhodolite.png\"],\n indexerUrl: \"https://indexer.mud.rhodolitechain.com\",\n fees: {\n estimateFeesPerGas: async () => ({\n maxFeePerGas: 100_000n,\n maxPriorityFeePerGas: 0n,\n }),\n },\n} as const satisfies MUDChain;\n"],"mappings":"AAAA,OAAS,WAAAA,MAAe,cAGjB,IAAMC,EAAa,CACxB,GAAGD,EACH,KAAM,CACJ,mBAAoB,EACtB,CACF,ECRA,OAAS,YAAYE,MAAsB,cAGpC,IAAMC,EAAW,CACtB,GAAGD,EACH,SAAU,CAAC,+CAA+C,EAC1D,WAAY,wCACZ,KAAM,CACJ,mBAAoB,UAAa,CAC/B,aAAc,QACd,qBAAsB,EACxB,EACF,CACF,ECbA,OAAS,UAAUE,MAAoB,cAGhC,IAAMC,EAAS,CACpB,GAAGD,EACH,SAAU,CAAC,6CAA6C,EACxD,WAAY,sCACZ,KAAM,CACJ,mBAAoB,UAAa,CAC/B,aAAc,QACd,qBAAsB,EACxB,EACF,CACF,ECbA,OAAS,eAAAE,MAAmB,gBAI5B,IAAMC,EAAW,MAEXC,EAAiB,CACrB,KAAM,CAAC,gCAAgC,EACvC,UAAW,CAAC,8BAA8B,CAC5C,EAEaC,EAAY,CACvB,GAAGH,EACH,KAAM,mBACN,QAAS,GACT,GAAI,MACJ,SAAAC,EACA,eAAgB,CAAE,KAAM,QAAS,OAAQ,MAAO,SAAU,EAAG,EAC7D,QAAS,CACP,QAASC,EACT,QAASA,EACT,iBAAkBA,EAClB,QAASA,CACX,EACA,UAAW,CACT,GAAGF,EAAY,UACf,gBAAiB,CACf,QAAS,6CACT,aAAc,KAChB,CACF,EACA,eAAgB,CACd,QAAS,CACP,KAAM,aACN,IAAK,qCACP,EACA,eAAgB,CACd,KAAM,sBACN,IAAK,2CACP,CACF,EACA,SAAU,CAAC,gDAAgD,EAC3D,WAAY,yCACZ,KAAM,CACJ,mBAAoB,UAAa,CAC/B,aAAc,QACd,qBAAsB,EACxB,EACF,CACF","names":["foundry","mudFoundry","redstoneConfig","redstone","garnetConfig","garnet","chainConfig","sourceId","defaultRpcUrls","rhodolite"]}
1
+ {"version":3,"sources":["../src/chains/mudFoundry.ts","../src/chains/redstone.ts","../src/chains/garnet.ts","../src/chains/rhodolite.ts"],"sourcesContent":["import { foundry } from \"viem/chains\";\nimport { MUDChain } from \"./types\";\n\nexport const mudFoundry = {\n ...foundry,\n fees: {\n defaultPriorityFee: 0n,\n },\n} as const satisfies MUDChain;\n","import { redstone as redstoneConfig } from \"viem/chains\";\nimport type { MUDChain } from \"./types\";\n\nexport const redstone = {\n ...redstoneConfig,\n iconUrls: [\"https://redstone.xyz/chain-icons/redstone.png\"],\n indexerUrl: \"https://indexer.mud.redstonechain.com\",\n fees: {\n estimateFeesPerGas: async () => ({\n maxFeePerGas: 100_000n,\n maxPriorityFeePerGas: 0n,\n }),\n },\n} as const satisfies MUDChain;\n","import { garnet as garnetConfig } from \"viem/chains\";\nimport type { MUDChain } from \"./types\";\n\nexport const garnet = {\n ...garnetConfig,\n iconUrls: [\"https://redstone.xyz/chain-icons/garnet.png\"],\n indexerUrl: \"https://indexer.mud.garnetchain.com\",\n fees: {\n estimateFeesPerGas: async () => ({\n maxFeePerGas: 100_000n,\n maxPriorityFeePerGas: 0n,\n }),\n },\n} as const satisfies MUDChain;\n","import { chainConfig } from \"viem/op-stack\";\nimport { MUDChain } from \"./types\";\nimport { Chain } from \"viem\";\n\nconst sourceId = 17001;\n\nconst defaultRpcUrls = {\n http: [\"https://rpc.rhodolitechain.com\"],\n webSocket: [\"wss://rpc.rhodolitechain.com\"],\n} as const satisfies Chain[\"rpcUrls\"][\"default\"];\n\nexport const rhodolite = {\n ...chainConfig,\n name: \"Rhodolite Devnet\",\n testnet: true,\n id: 17420,\n sourceId,\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: defaultRpcUrls,\n bundler: defaultRpcUrls,\n quarryPassIssuer: defaultRpcUrls,\n wiresaw: defaultRpcUrls,\n },\n contracts: {\n ...chainConfig.contracts,\n quarryPaymaster: {\n address: \"0x61f22c3827d90c390e0e2aaf220971524ac0a68d\",\n blockCreated: 11262,\n },\n },\n blockExplorers: {\n default: {\n name: \"Blockscout\",\n url: \"https://explorer.rhodolitechain.com\",\n },\n worldsExplorer: {\n name: \"MUD Worlds Explorer\",\n url: \"https://explorer.mud.dev/rhodolite/worlds\",\n },\n },\n iconUrls: [\"https://redstone.xyz/chain-icons/rhodolite.png\"],\n indexerUrl: \"https://indexer.mud.rhodolitechain.com\",\n mudIdUrl: \"https://id.mud.dev\",\n fees: {\n estimateFeesPerGas: async () => ({\n maxFeePerGas: 100_000n,\n maxPriorityFeePerGas: 0n,\n }),\n },\n} as const satisfies MUDChain;\n"],"mappings":"AAAA,OAAS,WAAAA,MAAe,cAGjB,IAAMC,EAAa,CACxB,GAAGD,EACH,KAAM,CACJ,mBAAoB,EACtB,CACF,ECRA,OAAS,YAAYE,MAAsB,cAGpC,IAAMC,EAAW,CACtB,GAAGD,EACH,SAAU,CAAC,+CAA+C,EAC1D,WAAY,wCACZ,KAAM,CACJ,mBAAoB,UAAa,CAC/B,aAAc,QACd,qBAAsB,EACxB,EACF,CACF,ECbA,OAAS,UAAUE,MAAoB,cAGhC,IAAMC,EAAS,CACpB,GAAGD,EACH,SAAU,CAAC,6CAA6C,EACxD,WAAY,sCACZ,KAAM,CACJ,mBAAoB,UAAa,CAC/B,aAAc,QACd,qBAAsB,EACxB,EACF,CACF,ECbA,OAAS,eAAAE,MAAmB,gBAI5B,IAAMC,EAAW,MAEXC,EAAiB,CACrB,KAAM,CAAC,gCAAgC,EACvC,UAAW,CAAC,8BAA8B,CAC5C,EAEaC,EAAY,CACvB,GAAGH,EACH,KAAM,mBACN,QAAS,GACT,GAAI,MACJ,SAAAC,EACA,eAAgB,CAAE,KAAM,QAAS,OAAQ,MAAO,SAAU,EAAG,EAC7D,QAAS,CACP,QAASC,EACT,QAASA,EACT,iBAAkBA,EAClB,QAASA,CACX,EACA,UAAW,CACT,GAAGF,EAAY,UACf,gBAAiB,CACf,QAAS,6CACT,aAAc,KAChB,CACF,EACA,eAAgB,CACd,QAAS,CACP,KAAM,aACN,IAAK,qCACP,EACA,eAAgB,CACd,KAAM,sBACN,IAAK,2CACP,CACF,EACA,SAAU,CAAC,gDAAgD,EAC3D,WAAY,yCACZ,SAAU,qBACV,KAAM,CACJ,mBAAoB,UAAa,CAC/B,aAAc,QACd,qBAAsB,EACxB,EACF,CACF","names":["foundry","mudFoundry","redstoneConfig","redstone","garnetConfig","garnet","chainConfig","sourceId","defaultRpcUrls","rhodolite"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latticexyz/common",
3
- "version": "2.2.15-entrykit-3b489ecd8b6521b8bf17d29764011abc42a035c0",
3
+ "version": "2.2.15-entrykit-e8cf1c3b5f2440f4c146f6d854e7937b7f9dee97",
4
4
  "description": "Common low level logic shared between packages",
5
5
  "repository": {
6
6
  "type": "git",
@@ -67,7 +67,7 @@
67
67
  "prettier": "3.2.5",
68
68
  "prettier-plugin-solidity": "1.3.1",
69
69
  "webauthn-p256": "^0.0.10",
70
- "@latticexyz/schema-type": "2.2.15-entrykit-3b489ecd8b6521b8bf17d29764011abc42a035c0"
70
+ "@latticexyz/schema-type": "2.2.15-entrykit-e8cf1c3b5f2440f4c146f6d854e7937b7f9dee97"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@types/debug": "^4.1.7",