ava-labs / hypersdk

Opinionated Framework for Building Hyper-Scalable Blockchains on Avalanche
Other
202 stars 111 forks source link

Rename `vmwithcontracts` #1553

Open richardpringle opened 1 month ago

richardpringle commented 1 month ago

We may want people to use contracts as a part of their VM and not just the only way to interact with their VM, but this example is focused on contracts regardless. Either way - we need a better name than vmwithcontracts

Originally posted by @aaronbuchwald in https://github.com/ava-labs/hypersdk/pull/1493#pullrequestreview-2301099364

richardpringle commented 1 month ago

@aaronbuchwald, what about `ContractActionsVM? I think that adding "actions" implies something that's re-usable.

I would even suggest that we rename Morpheus to something like TokenActionsVM. I'm not married to it, but I think we need a name that implies the usage of a component that's re-usable.

aaronbuchwald commented 1 month ago

I'd prefer paymentsvm for MorpheusVM and disagree that it's critical the name exactly implies that it's re-usable.

If there's a succinct way of putting it, then I think it's fine, but I'd prefer to just use a succinct name. I think we can make it clear that it can be a component in your VM instead of your entire VM in a different way.