Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to make a plugin to open wallet via RPC? #16

Closed
skinderis opened this issue Oct 10, 2018 · 7 comments
Closed

Is it possible to make a plugin to open wallet via RPC? #16

skinderis opened this issue Oct 10, 2018 · 7 comments
Labels
question Further information is requested

Comments

@skinderis
Copy link

Hi, I am interested if it's possible to open wallet remotely? I mean to create a plugin which will accept RPC method to open and close wallet or to encrypt and decrypt it?

Thanks!

@shargon
Copy link
Member

shargon commented Oct 11, 2018

At this moment not, there is not any command for this purpose

@erikzhang erikzhang added the question Further information is requested label Oct 11, 2018
@erikzhang
Copy link
Member

If we pass the RpcServer object to the plugin, it might be able to open or unlock the wallet.

@skinderis
Copy link
Author

@erikzhang ye, I think it's possible, the plugin just needs to decrypt wallet before certain RPC calls.

@skinderis
Copy link
Author

skinderis commented Oct 13, 2018

The problem is that I don't realy know C#, is there anyone that is interested in implementing the plugin and knows C#?

@belane I saw that you are good in C# 😄

@belane
Copy link
Member

belane commented Oct 14, 2018

Sorry but is not in my near future roadmap, I'll take your suggestion later.
Meanwhile you can specify your wallet on settings (https://github.com/neo-project/neo-cli/blob/master/neo-cli/config.json#L16) and use https and basic auth from RpcSecurity plugin to secure your RPC.

@vncoelho
Copy link
Member

@skinderis, why do you need this?

Open a wallet in the C# would require re-syncing the DB for checking its state.
If you need the encrypt and decrypt functionalities I suggest a Javascript based tool.

Take a look at https://neocompiler.io, there are some useful tools there.

@erikzhang
Copy link
Member

@skinderis Now you can open wallet from plugin. neo-project/neo#421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants