# 另一个角度理解智能合约? **Published by:** [糖果机器人](https://paragraph.com/@candybot/) **Published on:** 2022-04-03 **URL:** https://paragraph.com/@candybot/PIaEqOg4P0f1DjGM7JOx ## Content 如果说以太坊是一个去中心化数据库,那智能合约其实就是数据库的一个存储过程,这个数据库硬件层由矿工维护,控制的权限由所有eth代币持有者所有。 数据库只有两种操作,一是查询(不用gas),二是更改(需要gas),以太坊虚拟机就是数据库引擎,solidity就是sql,合约就是存储过程,私钥就是其中一个管理员的密码。 ## Publication Information - [糖果机器人](https://paragraph.com/@candybot/): Publication homepage - [All Posts](https://paragraph.com/@candybot/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@candybot): Subscribe to updates - [Twitter](https://twitter.com/baomei001): Follow on Twitter