Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

智能合约预言机 | Simplexity #29

Open
simplexity-ckcclc opened this issue Apr 21, 2023 · 0 comments
Open

智能合约预言机 | Simplexity #29

simplexity-ckcclc opened this issue Apr 21, 2023 · 0 comments

Comments

@simplexity-ckcclc
Copy link
Owner

https://simplexity.cn/2023/04/20/smart-contract-oracle/?#more

合约运行的可回溯重复执行及执行确定性要求,合约执行过程使用的数据必须被记录,可以采取记录在链上预言机合约内(公链),或者是合约的含预言机返回值的执行凭证(联盟链,用于事后审计)。对于前者,使用链上预言机主要分成三种方式: “立即读取” : 用户合约直接访问预言机合约读取所需数据。(预言机数据可能被更新,导致多次读取不一致。需要结合数据版本等机制保证,较为复杂) “订阅发布” : 关注预言机数据的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant