ETH Price:
$3,400.79
(+1.77%)
Gas:
8.20 Gwei
Search tokens, addresses and NFTs
Ecosystems
Greater Ethereum
Blockchains
Base
OP Mainnet
Mantle
Blast
Mint
zkSync Era
Cyber
Mode
Zora
Metis
Orderly
Boba Ethereum
Kinto
Ethereum Explorer
Blockchain
Transactions
Internal Transactions
Blocks
Forked Blocks (Reorgs)
Addresses
Verified Contracts
Tokens
ERC20 Tokens By MarketCap
ERC20 Transfers
ERC721 Tokens
ERC721 Transfers
ERC1155 Tokens
ERC1155 Transfers
Charts
Resources
Tools
Unit Converter
Contract Diff Checker
Account Balance Checker
Dumps
Export Data
Broadcast Transaction
UTF8 Converter
Explorer
Token Approvals
Gas Tracker
Dex Tracker
TPS Tracker
Domain Name Lookup
Verified Signatures
Developers
API Plans
Routescan APIs
ES Like APIs
Verify Contract
RPCs
|
Sign In
Contract ›
0xa291aCAf4a8fE16A5b1F15c6d6004fa3aB7f58ca
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
Contract Overview
Balance:
0 ETH
ETH Value:
$0.00
(@ $3,400.79/ETH)
Token:
$0.00
1
More Info
Tag:
Not Available.
Update?
Contract Creator:
0x6dC08...D64811
at txn
0xa80f6...40f863
Token Tracker:
Bitcoin As A State Transition System \n \n From a technical standpoint, the ledger of a cryptocurrency such as Bitcoin can be thought of as a state transition system, where there is a *state* consisting of the ownership status of all existing bitcoins and a *state transition function* that takes a state and a transaction and outputs a new state which is the result. In a standard banking system, for example, the state is a balance sheet, a transaction is a request to move $X from A to B, and the state transition function reduces the value in A's account by $X and increases the value in B's account by $X. If A's account has less than $X in the first place, the state transition function returns an error. Hence, one can formally define: \n The *state* in Bitcoin is the collection of all coins (technically, *unspent transaction outputs* or UTXO) that have been minted and not yet spent, with each UTXO having a denomination and an owner (defined by a 20-byte address which is essentially a cryptographic public keyfn1). A transaction contains one or more inputs, with each input containing a reference to an existing UTXO and a cryptographic signature produced by the private key associated with the owner's address, and one or more outputs, with each output containing a new UTXO to be added to the state. The state transition function APPLY(S,TX) -> S' can be defined roughly as follows: For each input in TX: If the referenced UTXO is not in S, return an error. If the provided signature does not match the owner of the UTXO, return an error. If the sum of the denominations of all input UTXO is less than the sum of the denominations of all output UTXO, return an error. Return S with all input UTXO removed and all output UTXO added The first half of the first step prevents transaction senders from spending coins that do not exist, the second half of the first step prevents transaction senders from spending other people's coins, and the second step enforces conservation of value. In order to use this for payment, the protocol is as follows. Suppose Alice wants to send 11.7 BTC to Bob. First, Alice will look for a set of available UTXO that she owns that totals up to at least 11.7 BTC. Realistically, Alice will not be able to get exactly 11.7 BTC; say that the smallest she can get is 6+4+2=12. She then creates a transaction with those three inputs and two outputs. The first output will be 11.7 BTC with Bob's address as its owner, and the second output will be the remaining 0.3 BTC *change*, with the owner being Alice herself. \n \n Mining \n \n If we had access to a trustworthy centralized service, this system would be trivial to implement; it could simply be coded exactly as described, using a centralized server's hard drive to keep track of the state. However, with Bitcoin we are trying to build a decentralized currency system, so we will need to combine the state transaction system with a consensus system in order to ensure that everyone agrees on the order of transactions. Bitcoin's decentralized consensus process requires nodes in the network to continuously attempt to produce packages of transactions called *blocks*. The network is intended to produce roughly one block every ten minutes, with each block containing a timestamp, a nonce, a reference to (ie. hash of) the previous block and a list of all of the transactions that have taken place since the previous block. Over time, this creates a persistent, ever-growing, *blockchain* that constantly updates to represent the latest state of the Bitcoin ledger. The algorithm for checking if a block is valid, expressed in this paradigm, is as follows: Check if the previous block referenced by the block exists and is valid. Check that the timestamp of the block is greater than that of the previous blockfn2 and less than 2 hours into the future Check that the proof-of-work on the block is valid. Let S[0] be the state at the end of the previous block. Suppose TX is the block's transaction list with n transactions. For all i in 0...n-1, set S[i+1] = APPLY(S[i],TX[i]) If any application returns an error, exit and return false. Return true, and register S[n] as the state at the end of this block. Essentially, each transaction in the block must provide a valid state transition from what was the canonical state before the transaction was executed to some new state. Note that the state is not encoded in the block in any way; it is purely an abstraction to be remembered by the validating node and can only be (securely) computed for any block by starting from the genesis state and sequentially applying every transaction in every block. Additionally, note that the order in which the miner includes transactions into the block matters; if there are two transactions A and B in a block such that B spends a UTXO created by A, then the block will be valid if A comes before B but not otherwise. The one validity condition present in the above list that is not found in other systems is the requirement for *proof-of-work*. The precise condition is that the double-SHA256 hash of every block, treated as a 256-bit number, must be less than a dynamically adjusted target, which as of the time of this writing is approximately 2187. The purpose of this is to make block creation computationally *hard*, thereby preventing sybil attackers from remaking the entire blockchain in their favor. Because SHA256 is designed to be a completely unpredictable pseudorandom function, the only way to create a valid block is simply trial and error, repeatedly incrementing the nonce and seeing if the new hash matches. At the current target of ~2187, the network must make an average of ~269 tries before a valid block is found; in general, the target is recalibrated by the network every 2016 blocks so that on average a new block is produced by some node in the network every ten minutes. In order to compensate miners for this computational work, the miner of every block is entitled to include a transaction giving themselves 25 BTC out of nowhere. Additionally, if any transaction has a higher total denomination in its inputs than in its outputs, the difference also goes to the miner as a *transaction fee*. Incidentally, this is also the only mechanism by which BTC are issued; the genesis state contained no coins at all. In order to better understand the purpose of mining, let us examine what happens in the event of a malicious attacker. Since Bitcoin's underlying cryptography is known to be secure, the attacker will target the one part of the Bitcoin system that is not protected by cryptography directly: the order of transactions. The attacker's strategy is simple: Send 100 BTC to a merchant in exchange for some product (preferably a rapid-delivery digital good) ait for the delivery of the product Produce another transaction sending the same 100 BTC to himself Try to convince the network that his transaction to himself was the one that came first. Once step (1) has taken place, after a few minutes some miner will include the transaction in a block, say block number 270000. After about one hour, five more blocks will have been added to the chain after that block, with each of those blocks indirectly pointing to the transaction and thus *confirming* it. At this point, the merchant will accept the payment as finalized and deliver the product; since we are assuming this is a digital good, delivery is instant. Now, the attacker creates another transaction sending the 100 BTC to himself. If the attacker simply releases it into the wild, the transaction will not be processed; miners will attempt to run APPLY(S,TX) and notice that TX consumes a UTXO which is no longer in the state. So instead, the attacker creates a *fork* of the blockchain, starting by mining another version of block 270000 pointing to the same block 269999 as a parent but with the new transaction in place of the old one. Because the block data is different, this requires redoing the proof-of-work. Furthermore, the attacker's new version of block 270000 has a different hash, so the original blocks 270001 to 270005 do not *point* to it; thus, the original chain and the attacker's new chain are completely separate. The rule is that in a fork the longest blockchain is taken to be the truth, and so legitimate miners will work on the 270005 chain while the attacker alone is working on the 270000 chain. In order for the attacker to make his blockchain the longest, he would need to have more computational power than the rest of the network combined in order to catch up (hence, *51% attack*). (GENESIS)
(@ $0.000023)
Transactions
Internal Txns
ERC20 Token Txns
Contract
Events
Latest 50 from a total of 25 transactions
Export CSV
First
1 of 1
Last
Txn Hash
Method
Block
From
To
Value
Txn Fee
Age
Latest 50 from a total of 51 transactions
Export CSV
First
1 of 2
Last
Txn Hash
Method
Block
From
To
Value
Txn Fee
Age
0x1632...95eae5
Approve
18512185
0xa547...B51Ac7
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00107455
414 days 1 hrs ago
0x5749...084d14
Approve
18155971
0xa547...B51Ac7
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00053236
463 days 22 hrs ago
0x2462...2b30a2
Approve
18155951
0xc5ba...325DE4
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00040604
463 days 22 hrs ago
0xccc4...0dd7de
Approve
18155931
0x9Ab8...97f254
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00042702
463 days 22 hrs ago
0xa084...97ac6a
Approve
18155930
0x9454...1F1D07
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00048468
463 days 22 hrs ago
0x020c...ba2e4c
Approve
18155925
0x076e...A12426
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00050602
463 days 22 hrs ago
0x5dda...6814b7
Approve
18155920
0x0630...f29E1C
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00042231
463 days 22 hrs ago
0x821b...a1c061
Approve
18155918
0x93Fd...49Cd7C
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00048273
463 days 22 hrs ago
0xfc97...f27548
Approve
18155912
0x68F5...bf955D
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00043263
463 days 22 hrs ago
0x1db8...3509a2
Approve
18155900
0xCc65...1Ec88b
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00047625
463 days 22 hrs ago
0xf721...435803
Approve
18155898
0x0791...A8Bf22
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00048232
463 days 22 hrs ago
0xcfd1...c52c04
Approve
18155896
0xdeE9...244552
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00044443
463 days 22 hrs ago
0xfe06...e48887
Approve
18155896
0xEA2a...530927
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00073695
463 days 22 hrs ago
0x9962...193d7c
Approve
18155896
0x6D70...5B20F7
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00073695
463 days 22 hrs ago
0x4cc6...e48374
Approve
18155896
0x6694...2E61bD
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00073695
463 days 22 hrs ago
0x911d...b86971
Approve
18155893
0x46Be...0Ad3Ed
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00054745
463 days 22 hrs ago
0x85b2...f847d9
Approve
18155892
0x1788...6b749B
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00042593
463 days 22 hrs ago
0xac38...927c61
Approve
18155892
teoribersyukur.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00056343
463 days 22 hrs ago
0xcdd4...41f852
Approve
18155888
0x21aE...C0a318
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00050962
463 days 22 hrs ago
0x3abd...d26c86
Approve
18155887
0xEfF1...a05827
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00053047
463 days 22 hrs ago
0x33bf...be0fa3
Approve
18155886
0xbC31...D28E01
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00052994
463 days 22 hrs ago
0x7ec4...35b334
Approve
18155885
0xBEEE...303D18
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00053726
463 days 22 hrs ago
0xcea4...c7e4a5
Approve
18155883
0x7a72...65B8DA
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00108862
463 days 22 hrs ago
0x8126...a5f651
Approve
18155882
0x62a9...EA8624
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00062559
463 days 22 hrs ago
0x08c7...c2132a
Approve
18155882
mememe69696969.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00062559
463 days 22 hrs ago
0x1075...38fb70
Approve
18155880
cetito10b.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00051674
463 days 22 hrs ago
0xfc87...2e2c5a
Approve
18155880
0x5f5C...412fFD
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00056408
463 days 22 hrs ago
0x2296...9cc02e
Approve
18155879
0x58AF...e248Ab
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00052153
463 days 22 hrs ago
0xcfb9...acf80f
Approve
18155878
reigeeen.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00039577
463 days 22 hrs ago
0xcd87...6d8cc2
Approve
18155878
waduh.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00039577
463 days 22 hrs ago
0x9a84...b60e75
Approve
18155878
yagesya.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00039577
463 days 22 hrs ago
0x51a9...c53c2a
Approve
18155878
juffrei.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00053650
463 days 22 hrs ago
0x3e05...5f9dd8
Approve
18155877
0x51bF...C525de
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00054184
463 days 22 hrs ago
0xe645...46c34e
Approve
18155877
0xc52f...057bC8
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00054184
463 days 22 hrs ago
0x702c...895152
Approve
18155876
0xaaed...65cd1A
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00056254
463 days 22 hrs ago
0x3353...95def4
Approve
18155876
0x0070...d66f4e
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00056254
463 days 22 hrs ago
0x64aa...3c59e5
Approve
18155876
0x177c...1D1df7
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00056254
463 days 22 hrs ago
0x681f...3a33da
Approve
18155875
zer0xtrading.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00051877
463 days 22 hrs ago
0xc512...4c1308
Approve
18155875
scheißaufjedenundalles.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00051877
463 days 22 hrs ago
0x2a7b...a71168
Approve
18155875
0xD146...c475bC
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00051877
463 days 22 hrs ago
0x9d75...1121a3
Approve
18155875
⬛nigga⬛.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00051877
463 days 22 hrs ago
0x3190...80d0f3
Approve
18155875
inzerr.eth
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00051877
463 days 22 hrs ago
0x60c1...da5c23
Approve
18155874
0xc66A...86Bf00
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00062289
463 days 22 hrs ago
0xa826...9c33c9
Approve
18155874
0xd99C...649d31
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00090631
463 days 22 hrs ago
0xd05c...abd1d8
Approve
18155874
0x6694...2E61bD
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00090631
463 days 22 hrs ago
0x031a...b537c1
Approve
18155874
0xEA2a...530927
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00090631
463 days 22 hrs ago
0x68f7...dd6973
Approve
18155874
0x6D70...5B20F7
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00090631
463 days 22 hrs ago
0xf871...ca1703
Mine Genes...
18155873
0x6dC0...D64811
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.02644605
463 days 22 hrs ago
0xd8d5...e6f5c9
Transfer
18155871
0x6dC0...D64811
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0
ETH
0.00053314
463 days 22 hrs ago
0xfce4...4230d0
Transfer
18155868
0x6dC0...D64811
IN
Bitcoin As A State Transition System From a technical standpoint, the ledger of a cryptocurrency
0.50
ETH
0.00018550
463 days 22 hrs ago