Contract hold unencrypted private keys ?

if contract itself can send a transaction, does it mean it has a private key of Ethereum ? Unencrypted ?

If it has access to another blockchain (of Bitcoin), does it mean it has Bitcoin private keys ?

Comments

  • mids106mids106 Member Posts: 188 ✭✭✭
    For contracts to send transactions it doesn't need a private key. Since it lives on its own on the blockchain, all miners can deterministically verify its intentions to send a transaction without a cryptographic proof.

    Storing other private keys in a contract is doomed to fail, the bytecode of all contracts are publicly viewable.
Sign In or Register to comment.