[SOLVED] How to Edit a Plugin

Hello, had a power outage so had to re-start Ganache and redeploy my contracts. I had created a plugin to watch an event associated with a contract and did include a contract address. Since the contract address differs I need to edit the plugin but do not see this option.

Are there any options other than deleting and re-creating the plugin? I do not see anything in the docs but admit I could have missed this.

Thank you,

David

2 Likes

There is currently no option to edit, so deleting and recreating is the only way. Nevertheless, we plan to make an edit option in the future.

2 Likes

Understood and thank you for responding so promptly!

2 Likes

I recommend starting the ganache-cli with the ā€˜-dā€™ flag, this way the address generation will be deterministic. If you run your migration scripts now, the deployed contracts will always be at the same address. This way you can restart your ganache-cli without having to reconfigure moralis

2 Likes