Smart contracts are pieces of executable code stored in the account's state that have their own storage, and perform transactions in the account's name.
Why Smart Contracts Matter
Smart contracts enable to create fully decentralized applications.
In fact, smart contracts enabled to create a multitude of awesome apps such as:
- Decentralized Autonomous Organizations, where users create and vote proposals.
- Art Marketplaces, where users create and commercialize digital art pieces.
- Decentralized exchanges, where users can trade different currencies.
Developing Contracts in NEAR
Indistinctly from the language chosen, the NEAR SDK will help you to compile the contract into WebAssembly, from which point it can be deployed and executed on the NEAR platform.
See how simple it is to build a contract in NEAR with our Quickstart Guide. You will spin-up your first dApp in a matter of seconds.
Advantages of NEAR Contracts
1. Simple to Build
2. Simple to Maintain
Since the contract's code is separated from its storage, contracts of non-locked account can be updated.
3. Some Methods are Free to Call
Public methods that perform only read operations can be called for free.