Hot answers tagged

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: ...
Muhzin's user avatar
  • 510
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.
W Yg's user avatar
  • 31
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
kamziro's user avatar
  • 275
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 ...
conr2d's user avatar
  • 2,320
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://...
Nat's user avatar
  • 3,425
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/...
ovi's user avatar
  • 371
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 ...
conr2d's user avatar
  • 2,320
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 ...
conr2d's user avatar
  • 2,320
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', ...
Phillip Hamnett - EOS42's user avatar
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 ...
Phillip Hamnett - EOS42's user avatar
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,...
cmadh's user avatar
  • 1,929

Only top scored, non community-wiki answers of a minimum length are eligible