Skip to content

Commit 1fb3710

Browse files
authored
Merge pull request #10826 from ethereum/sc-page
minor updates to smart contract page
2 parents 6adcc6e + 2e4a54a commit 1fb3710

File tree

1 file changed

+6
-11
lines changed
  • src/content/developers/docs/smart-contracts

1 file changed

+6
-11
lines changed

src/content/developers/docs/smart-contracts/index.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Like how a vending machine removes the need for a vendor employee, smart contrac
6767

6868
## Permissionless {#permissionless}
6969

70-
Anyone can write a smart contract and deploy it to the network. You just need to learn how to code in a [smart contract language](/developers/docs/smart-contracts/languages/), and have enough ETH to deploy your contract. Deploying a smart contract is technically a transaction, so you need to pay [Gas](/developers/docs/gas/) in the same way you need to pay gas for a simple ETH transfer. However, gas costs for contract deployment are far higher.
70+
Anyone can write a smart contract and deploy it to the network. You just need to learn how to code in a [smart contract language](/developers/docs/smart-contracts/languages/), and have enough ETH to deploy your contract. Deploying a smart contract is technically a transaction, so you need to pay [gas](/developers/docs/gas/) in the same way you need to pay gas for a simple ETH transfer. However, gas costs for contract deployment are far higher.
7171

7272
Ethereum has developer-friendly languages for writing smart contracts:
7373

@@ -86,9 +86,9 @@ Learn more about [smart contract composability](/developers/docs/smart-contracts
8686

8787
## Limitations {#limitations}
8888

89-
Smart contracts alone cannot get information about "real-world" events because they can't send HTTP requests. This is by design. Relying on external information could jeopardise consensus, which is important for security and decentralization.
89+
Smart contracts alone cannot get information about "real-world" events because they can't retrieve data from off-chain sources. This means they can't respond to events in the real world. This is by design. Relying on external information could jeopardise consensus, which is important for security and decentralization.
9090

91-
There are ways to get around this using [oracles](/developers/docs/oracles/).
91+
However, it is important for blockchain applications to be able to use off-chain data. The solution is [oracles](/developers/docs/oracles/) which are tools that ingest off-chain data and make it available to smart contracts.
9292

9393
Another limitation of smart contracts is the maximum contract size. A smart contract can be a maximum of 24KB or it will run out of gas. This can be circumnavigated by using [The Diamond Pattern](https://eips.ethereum.org/EIPS/eip-2535).
9494

@@ -104,13 +104,8 @@ Multisig (multiple-signature) contracts are smart contract accounts that require
104104
- [GitHub](https://github.com/OpenZeppelin/openzeppelin-contracts)
105105
- [Community Forum](https://forum.openzeppelin.com/c/general/16)
106106

107-
**DappSys -** **_Safe, simple, flexible building-blocks for smart-contracts._**
108-
109-
- [Dappsys](https://dappsys.readthedocs.io/)
110-
- [GitHub](https://github.com/dapphub/dappsys)
111-
112107
## Further reading {#further-reading}
113108

114-
- [Smart Contracts: The Blockchain Technology That Will Replace Lawyers](https://blockgeeks.com/guides/smart-contracts/) _– Blockgeeks_
115-
- [Best Practices for Smart Contract Development](https://yos.io/2019/11/10/smart-contract-development-best-practices/) _– Nov 10, 2019 - Yos Riady_
116-
- [Clean contracts - a guide on smart contract patterns & practices](https://www.wslyvh.com/clean-contracts/) _– Jul 30, 2020 - wslyvh_
109+
- [Coinbase: What is a smart contract?](https://www.coinbase.com/learn/crypto-basics/what-is-a-smart-contract)
110+
- [Chainlink: What is a smart contract?](https://chain.link/education/smart-contracts)
111+
- [Video: Simply Explained - Smart Contracts](https://youtu.be/ZE2HxTmxfrI)

0 commit comments

Comments
 (0)