Comments (8)
You don't need to inject private keys, you only need the public key and need to make sure that the wallet
containing the corresponding public key is:
- open
- unlocked
from eos-java-rpc-wrapper.
If I am not using my own eosio (using one of Block Producer's eosio), I believe their wallet doesn't contain my corresponding public key. Or do they contain (imported) all accounts already?
I thought I should sign the transaction using my account's private key and send it to network.
In other blockchain like bitcoin, to simply explain, you sign the transaction using your private key proving that you are the owner of this transaction and send that transaction to the network.
from eos-java-rpc-wrapper.
Other wallets should not contain your private keys.
You need a wallet running on your local machine or on a server that you trust.
However this library currently uses the same base url for all kinds of queries.
There should definitely be an option to use different base urls for history/chain/wallet queries.
Thanks for pointing that out.
from eos-java-rpc-wrapper.
Yes, other wallet shouldn't contain anyone's private key.
Well, my purpose is to use one of the BP's public API endpoint instead of running on my local machine or building one myself on a server that I trust.
In that sense, I believe there needs my account's private key to sign the transaction or create 3rd user's account using my account.
Is it possible to make a transaction using a public api endpoint?
Have you been testing using on your local only?
from eos-java-rpc-wrapper.
Yes, I used it only locally so far.
You need a wallet running somewhere, because this package doesn't take care of signing, even if you would provide a private key somewhere (which I am not sure if supported by the http api).
For signing it relies on separate software.
from eos-java-rpc-wrapper.
I'll look into adding additional parameters for different base urls (chain, history and wallet).
from eos-java-rpc-wrapper.
from eos-java-rpc-wrapper.
I will play around more for now.
from eos-java-rpc-wrapper.
Related Issues (20)
- maven dependence failed HOT 1
- Cannot deserialize instance of `java.lang.String[]` out of START_OBJECT token
- toString() for all responses
- 交易记录中actions数据异常 HOT 1
- Cannot deserialize instance of `long[]` out of START_OBJECT token HOT 2
- PushTransaction throw exception because unknown field. But it still included in block HOT 2
- get action api error HOT 2
- Can this wrapper installed by gradle? HOT 1
- Unrecognized field "server_version_string" HOT 2
- Invalid packed transaction while pushing action
- eosApiRestClient.getChainInfo() HOT 3
- com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException
- If I create a new account, what should I do?
- okhttp error end of stream HOT 1
- Missing public keys error
- How to achieve ref-block
- Sign transaction locally using provided private key.
- UNSPECIFIED_EXCEPTION No ABI found
- rpc api get_info error
- Exception in thread “main” client.exception.EosApiException: Not Found: unspecified while creating account
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eos-java-rpc-wrapper.