How to wrap your ethers contracts in svelte stores.

This week I tried to find the best way to interact with ethers contract. I think I kinda find the sweet spot.

This week I tried to find the best way to interact with ethers contract. I think I kinda find the sweet spot.

For instancing I found that derived stores are the best, in theory your store is going to subscribe to your provider store and when the provider updates the contract is going to be re instanced with the signer instead of the json provider, if you don’t need to login with Metamask...