I have setup a bitcoin node and can access RPC methods via curl or bitcoin-cli.
Now I don't want to share the node with multiple parties and in such case, I want to restict some functions from being executed, like listwallets
, getbalance
etc.
How can I restrict some method calls?
In Ethereum we have different rpcapi
and we can remove personal if we don't want others to play around with it unsafely.
My first guess will be to wrap the wallet functionalities in an application server and allow users to access the blockchain node via that application server and hence we can put any restrictions we want. Is there any better solution?