Accounts and Keys

Accounts and Keys

Update: 2020-06-15
Share

Description

Accounts are a way of representing users on the blockchain. Just like we have accounts in banks, generally represented by account numbers or IBANs, we have accounts in blockchains too. In a blockchain, accounts are generally a representation of a user’s cryptographic public key.Recall from the Transactions and Signing episodes of the podcast — transactions are signed by the users. Signing in a blockchain is done using public-key cryptography.

Public-key CryptographyIn public-key cryptography, a user has two keys — one public and the other secret. For simplicity, let’s say that these keys are mathematically obtained random strings that are associated with each other based on logic. This logic could be different for different cryptographic algorithms. Some of them are based on prime numbers and some are based on points on a function curve.

Cryptographic SigningUsing these keys, the user can associate their identity with their transactions by signing them. The public key is shared on the blockchain as part of the transaction. The transaction data is signed using the private key of the user and the resulting signature could be verified using the public key of the same user.

AccountsThe account of a user is represented by either hashing or encoding their public-key in one way or the other. Different blockchains represent accounts differently, using various hash functions.

Accounts are used to hold balances of tokens or cryptocurrencies, on a blockchain. Users could then spend these balances by signing the transactions using the associated private key of the account. Spending a balance means sending it to some other user’s account, using transactions. This way, any kind of user — buyer, seller, etc. could have their accounts and could send tokens to each other. If you do not have an account and the associated keys, you can’t send transactions to a blockchain and hence can’t propose an update to the state of the blockchain.

Music: https://www.purple-planet.com
Comments 
In Channel
Block Rewards

Block Rewards

2020-08-0304:48

Block Finality

Block Finality

2020-07-1304:59

Fork

Fork

2020-07-0604:32

Blockchain Governance

Blockchain Governance

2020-07-0204:54

Smart Contracts

Smart Contracts

2020-06-2204:45

Wallets

Wallets

2020-06-1804:47

Accounts and Keys

Accounts and Keys

2020-06-1504:43

Signing

Signing

2020-06-0805:14

Hashing

Hashing

2020-06-0404:42

Consensus

Consensus

2020-05-2505:10

Blockchain

Blockchain

2020-05-2104:54

Download from Google Play
Download from App Store
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Accounts and Keys

Accounts and Keys

Gautam Dhameja