Identity
NEAR contract developers use one of two Software Development Kits (SDK), AssemblyScript or Rust, to build their contracts. Both SDKs expose three different identities that are either invariant or cryptographically verifiable. Identity on NEAR is exposed to developers using the Context object in AssemblyScript.
- contract account: the account on which the contract is running right now (invariant)
- predecessor account: the account that came just before this moment
- sender account: the account that originally signed the transaction that brought us here

Quiz
Answer the questions to check your understanding.
This lesson includes a short quiz.
Lesson discussion
Swap insights and ask questions about NEAR Developer Course
Be the first to start the discussion
Ask a question or share your thoughts about this lesson.