4,170 questions
4,383 answers
5,739 comments
MultiChain has a set of APIs specifically to enable this, including createrawexchange and appendrawexchange. Please work through the Getting Started guide, and you'll see a full example in section 6: http://www.multichain.com/getting-started/