Git Product home page Git Product logo

Comments (8)

spebern avatar spebern commented on September 15, 2024

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:

  1. open
  2. unlocked

from eos-java-rpc-wrapper.

jaybxyz avatar jaybxyz commented on September 15, 2024

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.

spebern avatar spebern commented on September 15, 2024

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.

jaybxyz avatar jaybxyz commented on September 15, 2024

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.

spebern avatar spebern commented on September 15, 2024

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.

spebern avatar spebern commented on September 15, 2024

I'll look into adding additional parameters for different base urls (chain, history and wallet).

from eos-java-rpc-wrapper.

spebern avatar spebern commented on September 15, 2024

#10

from eos-java-rpc-wrapper.

jaybxyz avatar jaybxyz commented on September 15, 2024

I will play around more for now.

from eos-java-rpc-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.