3

Is there a way to send XCM messages from ink! contract?

If it is not possible, what are the other options for sending XCM messages(I suppose you can send XCM messages from a substrate pallet but is there another way)?

1 Answer 1

5

You can use ink! extension to call any pallet, which itself can send XCM messages.
You can have a look at these pallets as an example, but please be aware that this is just a crappy hackathon code :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.