DA0-DA0 / polytone

An account on every blockchain for every smart contract.
45 stars 7 forks source link

Polytone Go Cosmos SDK module to deploy Polytone protocol on SDK v47 #68

Open poroburu opened 4 months ago

poroburu commented 4 months ago

Certain Cosmos SDK chains such as Akash have signalled their intention to not support CosmWasm. DAOs provisioning cloud resources on Akash would be a significant addressable market for DAO DAO and Akash.

Akash is in the process of: upgrading to SDK v47 akash-network/support/issues/212 to support ICA https://github.com/akash-network/support/issues/171

DAO DAO <> Akash #570 CosmWasm on Akash Network GitHub organization

As Akash may have valid reasons to not integrate CosmWasm. Would this Go Cosmos SDK module feature request be technically possible on the DA0-DA0/polytone side?

JakeHartnell commented 4 months ago

Now that ICA is more stable we could add support for native ICA, but would need some work.

NoahSaso commented 4 months ago

Polytone is our smart-contract version of ICA. DAOs can already use native ICA actually to connect to Akash, so this is already possible.

But the UX of ICA isn't great because of how channels work, and for some reason you can't simulate messages as an ICA host account. You can simulate messages as a smart contract account, which lets our UI verify that your messages are valid on the destination chain before submitting a proposal. Also, ICA doesn't store results while Polytone does, so we can query a contract to check for execution success or error.

I'm not exactly sure where the technical limitations lie, but I find it hard to believe that creating another SDK Go module is the best solution when both the Polytone smart contracts and the CosmWasm SDK module have been audited and battle-tested with lots of money and time.