3
votes
Accepted
How to sign a transaction locally using python?
What you are missing here is the chain ID of the network.
Mainnet: aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906
Jungle Testnet: ...
3
votes
How to sign a transaction locally using python?
The api '/v1/wallet' is from the server keosd, not the nodeosd. You may change the port that keosd served.
2
votes
Signing transactions manually without eosjs-ecc
Whoop, turns out it was "SIG_K1_" + base58check(65 bits of the signature)
Getting the proper 65 bits is another headache for now, but yeah
2
votes
Accepted
How does a typical ECDSA signature verify work in EOS and ETH/BTC
There are several ECDSA according to what elliptic curve algorithm uses. Bitcoin, Ethereum and EOSIO support secp256k1 using Koblitz curve, and their ways to sign a transaction or recover public key ...
2
votes
Accepted
How do I send transactions from account, differing from actor account?
If the trx allows, you could sign the trx with B's key, thus B would be charged for something that benefits A.
Alternatively you can stake to B from A the EOS in CPU/NET. More on staking here https://...
1
vote
Where do I find code for transaction signing?
if you want to see how signing is done in eosio these can be two starting points (none of them are python samples):
https://github.com/EOSIO/eos/blob/26a4d285d0be1052d962149e431eb81500782991/plugins/...
1
vote
Accepted
Where do I find code for transaction signing?
Refer to eospy.
EOSIO also uses secp256k1 like Bitcoin or Ethereum, so you can sign a transaction manually, but you should know its encoding convention. Its signature consists of SIG_K1_ prefix and ...
1
vote
What does the compact signature mean
ECDSA signature consists of two values, r and s. Recovery ID (v in Ethereum) is not mandatory, but due to characteristics of elliptic curve, multiple public keys are recovered from signature and ...
1
vote
How to use eosjs V20 to create and sign a offline actions?
It looks like you forgot to add the closing square bracket after your action. I assume this is the problem. It should instead look like this:
(async()=>{
let actions = [{
account: 'tommy',
...
1
vote
Accepted
Ricardian Contract
Everytime you update the ABI file, a record is stored on chain. The action is eosio::setabi. Therefore it would be possible to say which version of the ABI file was current on the blockchain at the ...
1
vote
Double sign a transaction, first on client, second on server
You can sign everything you want using eosjs-ecc.
See here Github eosjs-ecc
ecc.Signature.signHash(sha256hash, private_key).toString()
ecc.sign(Buffer.from(data, 'utf8'), private_key)
But be aware,...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
signing × 20eosjs × 6
transactions × 5
smart-contract × 2
eosio.cdt × 2
wallet × 2
cpu × 2
keosd × 2
library × 2
nodeos × 1
cleos × 1
block-producer × 1
action × 1
dapp × 1
javascript × 1
keys × 1
node × 1
authorization × 1
ricardian × 1
python × 1
ecc × 1