latticexyz / mud

MUD is a framework for building autonomous worlds
https://mud.dev
MIT License
692 stars 174 forks source link

generate deploy manifest #2491

Open holic opened 3 months ago

holic commented 3 months ago

JSON representation of systems (can use abi-ts for strong types) that include system IDs and ABIs for strongly typed calls to systems (e.g. batch call)

should also prob generate interfaces to call via solidity as well

ludns commented 3 months ago

it would be great if this could be generated from the chain directly

holic commented 3 months ago

agreed! see also #2386

alvrs commented 3 months ago

another related thing that would be useful here would be autogenerating the ID of systems for solidity (so we don't have to manually define things like REGISTRATION_SYSTEM_ID)

holic commented 2 months ago

should also generate a manifest for modules and anything else deployed so we can map back to it for verification

the manifest should prob include the original bytecode, compiler options, etc. for verification

holic commented 6 days ago

we should make sure these manifest support non-TS environments: https://github.com/latticexyz/mud/issues/2349#issuecomment-1989345314