Smart Contracts Flashcards
Encryption
Secure data with cryptography, can only be decoded by key.
Example - Encrypted payment info
Blockchain
Distributed ledger for transactions
Example - Ethereum records contracts
Hexadecimal Hash
Unique data verification code
Example - Hash validates transaction
Solidity
Smart contract programming language
Example - Ethereum voting contract
If/When… Then
Conditions trigger contract actions
Example - Payment if delivery confirmed
Testing
Checks contract functionality (Truffle, Hardhat)
Example - Test token transfers, prevent unauthorised access
Gas
Fee for contract execution
Example - Ether fee for transaction
Address Book
Stores Ethereum addresses
Example - Tracks users and balances
Registry
Decentralised data list
Example - Domain mappings on blockchain (Domain Name System)
Artifacts.required()
Loads contract for interaction
Example - MyContract test artifact
eWallets
Store and transfer cryptocurrency
Example - MetaMask for Ether