The predicate keyword is used to identify that the program is a predicate.
predicate;
We're going to utilize the Sway standard library Icon Link in our predicate. Delete the template code except for the predicate keyword and copy in the imports below:
use std::{ tx::{ tx_witness_data, tx_witnesses_count, tx_id }, constants::ZERO_B256, b512::B512, ecr::ec_recover_address};
Lastly, we will be using ec_recover_address, short for elliptical curve recovery address. It's a function that allows us to cryptographically recover the address that signed a piece of data: