Kixunil / btc-rpc-proxy

Finer-grained permission management for bitcoind.
MIT License
63 stars 18 forks source link

Feature Request: Profiles (Edit: actually, add more example files) #3

Open jonasnick opened 4 years ago

jonasnick commented 4 years ago

Would be useful to have a collection of profiles available somewhere, so users don't need to figure out the exact calls that need to be whitelisted for c-lightning, lnd, liquid, etc...

Kixunil commented 4 years ago

Would it be enough to have the config files published? (Like what I did with public.) Note that btc-rpc-proxy supports --conf-dir parameter which allows you to load each user from a different file. That way, it's just matter of copying and setting the password.

jonasnick commented 4 years ago

Sure, that would work. Doesn't have to be in this repo, but it would make btc-rpc-proxy much easier to use.

Kixunil commented 4 years ago

Yeah, I agree. I'm thinking about making a new directory and filling it with examples.

To you have anything interesting already? I've only used the public one so far.

jonasnick commented 4 years ago

Ha, I realized just now that your example exactly includes the public RPCs. I guess that's good enough for me for now. Still profiles are something to think about in the future.

Kixunil commented 4 years ago

Yeah, definitely! I will do it eventually at least for wallet.

jonasnick commented 4 years ago

Should this issue be closed?

Kixunil commented 4 years ago

I'm keeping it until I do other examples (at least wallet).