solang icon indicating copy to clipboard operation
solang copied to clipboard

Support for CosmWasm

Open gorgos opened this issue 4 years ago • 13 comments

Any chance solang could be supporting CosmWasm (smart contracts for Cosmos chains) in the future?

gorgos avatar Nov 27 '21 23:11 gorgos

I have looked at CosmWasm in the past, and it is entirely possible to support it. However, this is a lot of work and I do not have the time.

It might be possible for someone to get a grant from cosmos to implement this. This does require knowledge of cosmos, llvm IR and compilers in general. I am always available to support anyone doing this work.

seanyoung avatar Nov 28 '21 09:11 seanyoung

Hey, I run the grants program at the Interchain Foundation. We're pretty thin on personnel to support this, but would be open to a grant if you're interested in adding support for cosmwasm. Application is at apply.interchain.io if you're interested.

hxrts avatar Nov 29 '21 10:11 hxrts

I'd love to see CosmWasm support, so I'm available to help.

seanyoung avatar Nov 29 '21 13:11 seanyoung

I would really want to look into it, but I'm a bit pressed on time till the end of this month. Yet I will be ready to try adding support for CosmWasm right after.

sushi-shi avatar Dec 17 '21 16:12 sushi-shi

Any updates on adding CosmWasm support?

GataKamsky avatar Feb 17 '22 13:02 GataKamsky

@sushi-shi have you made any progress?

seanyoung avatar Feb 17 '22 15:02 seanyoung

Is someone currently working on this ? Has someone already requested a grant to perform such work ?

Alex-Werner avatar Apr 11 '22 21:04 Alex-Werner

@Alex-Werner as far as I am aware, no one has applied for a grant yet.

seanyoung avatar Apr 13 '22 07:04 seanyoung

Hi @seanyoung and @hxrts. I am willing to give this a try to see If I can make this work for the LUNC chain. Can we have a short conversation to get me started?

blendsdk avatar Mar 10 '24 12:03 blendsdk

Hi @seanyoung and @hxrts. I am willing to give this a try to see If I can make this work for the LUNC chain. Can we have a short conversation to get me started?

For this task, you'll have to do the groundwork and research yourself, I'm afraid. I only briefly looked at cosmoswasm. You'll have to figure out how the cosmoswasm VM works and then implement a new target in Solang which generates code for that specific VM.

Please let us know if you have specific questions.

seanyoung avatar Mar 10 '24 15:03 seanyoung

@blendsdk I can also connect you with the right people from Confio building CosmWasm, just DM me if needed.

gorgos avatar Mar 10 '24 15:03 gorgos

@seanyoung Thank you very much. At the moment I am pulling together all the info to get started. From what I can see, this is not going to be an easy task, but absolutely worth it to give it a try.

blendsdk avatar Mar 13 '24 10:03 blendsdk

@gorgos I sent an email

blendsdk avatar Mar 13 '24 10:03 blendsdk