Is it possible to create a smart contract that knows the value of its KT1 address?
E.g. if you wanted the contract to check that there was a signature signed over its contract address, would it be able to find it/refer to it?
Tezos Stack Exchange is a question and answer site for users, experts, and developers of the Tezos blockchain project. It only takes a minute to sign up.
Sign up to join this communityYes, Michelson provides the following instruction SELF_ADDRESS
In SmartPy you can use sp.self_address