Skip to content

Commit

Permalink
also capitalise singular UTXO
Browse files Browse the repository at this point in the history
  • Loading branch information
rphair authored Oct 24, 2023
1 parent 10ec2c1 commit 02feb2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/smart-contracts/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Important to note here is that smart contracts heavily rely on the datum attache

### On-Chain (Validator scripts)

Validator scripts are executed automatically when a utxo residing at the address of the script is attempted to be moved by a transaction. These scripts take a transaction as its input and then outputs either true or false depending on whether the transaction is valid or not according to your rules/logic as defined in the script - thus blocking or allowing a transaction to succeed. If you are moving multiple UTXOs residing on the same script address, the validator-script will run once for each utxo. This script execution happens on the Cardano node validating your transaction.
Validator scripts are executed automatically when a UTXO residing at the address of the script is attempted to be moved by a transaction. These scripts take a transaction as its input and then outputs either true or false depending on whether the transaction is valid or not according to your rules/logic as defined in the script - thus blocking or allowing a transaction to succeed. If you are moving multiple UTXOs residing on the same script address, the validator-script will run once for each UTXO. This script execution happens on the Cardano node validating your transaction.

This means that in order for the validator-script to execute, a transaction must first move a utxo to the address of the contract; the address is derived from the contract mathematically. You do not need to upload your contract to the chain, although that is also possible using reference scripts.

Expand Down

0 comments on commit 02feb2f

Please sign in to comment.