Step by step tutorial for leveraging JSON-RPC API?

+1 vote
I've tried several methods to access json-rpc api for multichain but hit a hurdle every way I go. Has anybody come across a clean tutorial for how to integrate this?

For instance when I tried to follow the steps here (which I assumed was ok due to multichain being backward compatible with bitcoin-core):, I could not connect to my chain and received either 401 or 403s despite having allowed rpcallowip= Or does anybody have sample code leveraging one of the recommended wrappers (preferably php or javascript)? Just quite out of options
asked Jun 13, 2016 by anonymous

1 Answer

+1 vote

You need to set rpcallowip= if you want to allow connections from anywhere (not recommended for any real deployments).

You can also try the libraries people have created (in many languages) for using the MultiChain API - they are listed at the bottom here:

answered Jun 13, 2016 by MultiChain
403 with rpcallowip=