As per documentation of ethsigner: "https://docs.ethsigner.pegasys.tech/en/latest/Using-EthSigner/Using-EthSigner/"
EthSigner provides transaction signing and access to your keystore by implementing the following JSON-RPC methods:
eth_accounts
eth_sendTransaction
As eth_sendTransaction is used only for signing and sending public transactions.
But for signing and sending private transactions from the console we need an endpoint as like as eea_sendTransaction. So that we can add fields like privateFor, privateFrom, Restriction while sending the transactions with fields: from,to,value nonce,gas.
Is eea_sendTransaction endpoint in your development stage?
final tech.pegasys.ethsigner.core.EthSigner ethSigner =
new tech.pegasys.ethsigner.core.EthSigner(config, new RunnerBuilder());
ethSigner.run();My issue is in this code. Because it is async you can see that I am waiting few seconds for the vertx server to start, otherwise EthSinger will not be ready before the tests are run.
@iikirilov A new endpoint has just been added to EthSigner that should help in your IT/AT.
It's a simple up check with the path of /upcheck from the context root e.g. http://localhost:8545/upcheck
Usage in the EthSigner Acceptance Test DSL: https://github.com/PegaSysEng/ethsigner/blob/2fdbfe96765909919dc4686f498fbbf454db848f/acceptance-tests/src/test/java/tech/pegasys/ethsigner/tests/dsl/signer/Signer.java#L114
@ab-chowdhury @iikirilov is spot on.
The launch parameter --http-listen-port is the port that EthSigner exposes it's endpoints on, with the Ethererum JSON-RPC at the context root http://localhost:8545/ and UpCheck at http://localhost:8545 (assuming EthSigner is listening on port 8545 on host localhost).
Hey Everyone,
While running ethsigner v0.2.0 using the following command
ethsigner --chain-id=88872 --downstream-http-host=0.0.0.0 --downstream-http-port=10300 --http-listen-host=0.0.0.0 --http-listen-port=10303 --key-file=/home/node/keystore/keyfile --password-file=password.txt >>logs/EthsignerLogs/ethsigner.log &
It is showing the following error -
Unknown options: --key-file=/home/node/keystore/keyfile, --password-file=password.txt
Is there any change in it? Because in previous version I was using these options and was running fine.
If there's any change please tell me the alternative for it.
Thanks in advance
file-based-signer command
Hi @ice09, and thanks for the comment and suggestion!
I hadn't seen the reddit comment yet, I assume you refer to this: https://www.reddit.com/r/ethereum/comments/cqcuou/protecting_your_ethereum_private_key_with/
To address both questions: The main reason we built ethsigner is to separate our key store management from the node client running the network and validating transactions. Nodes have to sign using their keys for validating those transactions and we find it essential (security-wise to separate it from the actual client).
So it really has little to do with metamask in how a user would interact with the network.
Hello PegaSys/EthSigner community! In the spirit of improving the way we communicate and the information you receive, we've put together a short survey to gather your feedback. All answers are optional, and we'd love to hear what you have to say!
The survey is centered on Pantheon but we'd appreciate all your responses as well.
https://forms.gle/4Jddy7bSPFa9a2zz6