2

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?

6

Yes, Michelson provides the following instruction SELF_ADDRESS

In SmartPy you can use sp.self_address

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.