API and RPCUser/RPCPassword

+2 votes

I'm building a complex system of sharing data using Multichain in Python with the Savoir Library.

Every node need to write/load/access to every data on the multichain.

I'm using the Savoir API but that require to use the RPCUser/RPCPassword of the Master Node ADMIN to connect to the other node so I have that sensible data spread everywhere and this make me nervous a little.

I know I can build a new user, give him just connect, send and receive permission, but how I can use that user with the API ?

The right way to avoid this is to build a local copy of the multichain and use local RPCUser / RPC Password ?

Thi require to download tons of data so I would prefer to let the user choice if connect to an already present node or to download all the data locally.

Thank you.
asked Oct 13, 2017 by Gianni

1 Answer

+1 vote
Currently there is no way in MultiChain itself to define different users, each of which has a different username/password and access to different wallet keys.

So if you want to build a system like this, you will need to use an intermediate layer to provide the access control for the node. You can also use external private keys so that the user has ultimate control over the transactions they create: https://www.multichain.com/developers/external-key-management/
answered Oct 14, 2017 by MultiChain