MUD is a framework for building ambitious onchain applications
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
worlds.json
's address
type more like viem's Hex
type so it's easy to pass through as an argument.Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
375d902e: Added asynchronous polling for current fees to sendTransaction
.
38c61158: Added kmsKeyToAccount
, a viem custom account that signs transactions using AWS KMS.
To use it, you must first install @aws-sdk/[email protected]
and [email protected]
dependencies into your project. Then create a KMS account with:
import { kmsKeyToAccount } from "@latticexyz/common/kms";
const account = kmsKeyToAccount({ keyId: ... });
By default, a KMSClient
will be created, but you can also pass one in via the client
option. The default KMS client will use your environment's AWS SDK configuration.
f736c43d: Resource
type props are now readonly.
Published by github-actions[bot] 6 months ago
--awsKmsKeyId
flag to mud deploy
that deploys the world using an AWS KMS key as a transaction signer.mud verify
command which verifies all contracts in a project. This includes systems, modules, the WorldFactory and World.deploy.upgradeableWorldImplementation
option to the MUD config that deploys the World as an upgradeable proxy contract. The proxy behaves like a regular World contract, but the underlying implementation can be upgraded by calling setImplementation
.--forgeScriptOptions
flag to deploy and dev commands to allow passing in additional CLI flags to forge script
command.Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
CallWithSignature
from the domain.chainId
to the domain.salt
field to allow for cross-chain signing without requiring wallets to switch networks. The value of this field should be the chain on which the world lives, rather than the chain the wallet is connected to.Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
waitForTransaction
to parallelize network requests.waitForTransaction
now returns a Promise<{ blockNumber: bigint, status: "success" | "reverted" }>
instead of Promise<void>
, to allow consumers to react to reverted transactions without refetching the transaction receipt.Published by github-actions[bot] 6 months ago
103db6ce: Patched StoreRead.getDynamicFieldLength
to properly read StoreCore.getDynamicFieldLength
.
Previously StoreRead.getDynamicFieldLength
incorrectly read from StoreCore.getFieldLength
, which expected a fieldIndex
instead of a dynamicFieldIndex
, and thereby returned an invalid result if the table had both static and dynamic fields (in which case fieldIndex
!= dynamicFieldIndex
). StoreRead
is used for external reads from the Store
/World
contract, so this bug only materialized in external table reads (ie from Systems
outside the root namespace) of the dynamic length of a field in a table with both static and dynamic fields.
9720b568: Internal type improvements.
c18e93c5: Bumped viem to 2.9.20.
d95028a6: Bumped viem to 2.9.16.
Updated dependencies [6c8ab471]
Updated dependencies [c18e93c5]
Updated dependencies [d95028a6]
Published by github-actions[bot] 6 months ago
Cache-Control
and Content-Type
headers to the postgres indexer API.Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago