From d546fe214c371bdf9fa51fa1317f141c4c24f57c Mon Sep 17 00:00:00 2001 From: mariobern <110480440+mariobern@users.noreply.github.com> Date: Thu, 9 Jan 2025 18:53:44 +0800 Subject: [PATCH] feat(docs): add Pyth to Scroll docs (#413) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: Add turkish transalation (build fix) (#256) (#257) * lang "tr" added, sections "getting-started" and "user-guide" is translated accordingly * Update overview.md * technology/bridge turkish translations are added * lang[tr] user-guide finalized * learn added, getting started improvements * /learn and most of the /technology is translated to lang[tr] * /technology/chain finished * /developers section translations to lang[tr] * /developers developer-quickstart and transaction-fees-on-scroll translated to lang[tr] * /developers section finished except guides part. some other language correctments in lang[tr] * execution-node-tr completed * rollup-node-tr completed * /developers/guides is completed * added lang[tr] for welcome page frontend * cross-domain-messaging-tr completed * deposit-gateways-tr completed * withdraw-gateways-tr completed * minor improvements * visual bugs fixed in kzg schemes lang[tr] * minor improvements * general language improvements and word suffix correctments lang[tr] * translation completions of some overlooked technical terms lang[tr] * minor fix * term improvements * minor improvements in terms * minor punctuation suffix correction * minor punctuation suffix fixes * more minor improvements * minor update * zktrie.mdx güncelleme * refactor * /technology/sequencer/zktrie.mdx translation completed * refactor * mini typo in kzg schemes * mempool changes * Bridge part refactor * Withdraw-gateways refactor * Minor translation fixes in Learn folder. * Zktrie and Zkevm part * minor corrections in translations of rollup, opcode and hash * minor corrections in gateway translation * minor translation corrections * "SB" changed to ZK in get started, learn and devs * "Haberci"ler "Messenger"a donusturuldu. * local preview fixes * proof read "getting started" "user guide" "learn" * punctuation mistake while proof reading * getting started/user guide/learn proofread finished, front page translation updates, menu.ts is translated, some parts of translation.js is translated * minor changes in index and overview * tr/technology/chain proofread and corrections completed * syntax corrections in tr/technology/overview * Typo correction in chain/blocks * json translations * translation json translated * "Baslayin" changed to "Basla" in Menu * /tr/technology/bridge proofread completed, corrections made * /tr/technology/sequencer proofread, corrections completed * /tr/technology/zkevm and /tr/technology/security proofread and corrections completed * technology subheaders translation changed * mini term fix * Proof read dev * Warning titles have been changed * minor changes * a link, a prefix, and a minor main page correction * fix: npm run build now works with node 18.14.1 --------- Co-authored-by: emremreistaken Co-authored-by: emremre <101284529+emremreistaken@users.noreply.github.com> Co-authored-by: memduh Co-authored-by: bahribugra Co-authored-by: Dilara * Curie updates (#289) * Curie updates (#271) * curie-update-libzkp-version * security nit * move contact info into highlight * change Aside type * Update running-a-scroll-node.mdx (#278) * nodeKey hashing are done with domain 512 not 256 Am currently making a storage prover in noir and found this error In the zktrie repo nodekeys are hashed with ToSecureKey() in type/util.go (afaik) https://github.com/scroll-tech/zktrie/blob/23181f209e94137f74337b150179aeb80c72e7c8/types/util.go#L107 ToSecureKey() uses Hash() in types/bytes32.go which uses HASH_DOMAIN_BYTE32 as domain which is 256 *2 (512) see here: https://github.com/scroll-tech/zktrie/blob/23181f209e94137f74337b150179aeb80c72e7c8/types/hash.go#L16 and here is where i did my test in noir :D (account leaf is lower in same file) https://github.com/jimjimvalkema/scrollZkStorageProofs/blob/bcdd922405e046e99787b8b47f374befac170779/ScrollStorageProver/src/main.nr#L168 * add get in touch button * Revert "add get in touch button" This reverts commit 5c695f26137187667c981faa7731acbd88850b38. * Curie update details (#286) * remove legacy flag for foundry * update Curie details * fix typo * oops * Add PR descriptions --------- Co-authored-by: colinlyguo Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com> Co-authored-by: Sina Pilehchiha Co-authored-by: Péter Garamvölgyi Co-authored-by: jimjimvalkema Co-authored-by: Daniel Helm Co-authored-by: zhengqi zhang <770166635@qq.com> * Merge pull request #338 from SahilAujla/develop add alchemy to scroll tools * Merge pull request #342 from jlin27/develop add 0x to dev tooling explorer * Merge to prod (#349) * Darwinv2 changes (#332) * darwinv2 changes * oops * note on reorgs and finality * formatting * added guide for the graph (#334) * add alchemy to scroll tools * update text in alchemy.mdx * add 0x to dev tooling explorer * fix feedback --------- Co-authored-by: AK Co-authored-by: Sahil Aujla Co-authored-by: emilyJLin95 <17280653+emilyJLin95@users.noreply.github.com> Co-authored-by: Jessica Lin * Publish Canvas guide (#371) * Darwinv2 changes (#332) * darwinv2 changes * oops * note on reorgs and finality * formatting * added guide for the graph (#334) * add alchemy to scroll tools * update text in alchemy.mdx * add 0x to dev tooling explorer * fix feedback * Guide for adding Canvas badges (#333) * add Canvas guide * fix * add to nav * display images side by side * feedback * add image margins * fix the title (#337) * Update the content detail and unbold text (#341) * fix the title * Unbold the text under toggle list * Update the content (#348) * fix the title * Unbold the text under toggle list * Update the content * small edits * Apply suggestions from code review Co-authored-by: Péter Garamvölgyi * Isabellewei/canvas (#367) * fix the title * Unbold the text under toggle list * Update the content * update content based on the comments --------- Co-authored-by: isabellewei --------- Co-authored-by: fanyarachel <43579854+fanyarachel@users.noreply.github.com> Co-authored-by: Péter Garamvölgyi --------- Co-authored-by: AK Co-authored-by: Sahil Aujla Co-authored-by: emilyJLin95 <17280653+emilyJLin95@users.noreply.github.com> Co-authored-by: Jessica Lin Co-authored-by: fanyarachel <43579854+fanyarachel@users.noreply.github.com> Co-authored-by: Péter Garamvölgyi * add pyth to scroll * fix pyth excerpt * fix typos --------- Co-authored-by: Daniel Helm Co-authored-by: Ahmed Castro Co-authored-by: emremreistaken Co-authored-by: emremre <101284529+emremreistaken@users.noreply.github.com> Co-authored-by: memduh Co-authored-by: bahribugra Co-authored-by: Dilara Co-authored-by: isabellewei Co-authored-by: colinlyguo Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com> Co-authored-by: Sina Pilehchiha Co-authored-by: Péter Garamvölgyi Co-authored-by: jimjimvalkema Co-authored-by: zhengqi zhang <770166635@qq.com> Co-authored-by: vincent Co-authored-by: ChuhanJin <60994121+ChuhanJin@users.noreply.github.com> Co-authored-by: emilyJLin95 <17280653+emilyJLin95@users.noreply.github.com> Co-authored-by: AK Co-authored-by: Sahil Aujla Co-authored-by: Jessica Lin Co-authored-by: fanyarachel <43579854+fanyarachel@users.noreply.github.com> Co-authored-by: Morty <70688412+yiweichi@users.noreply.github.com> --- src/content/tools/en/pyth.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/content/tools/en/pyth.mdx diff --git a/src/content/tools/en/pyth.mdx b/src/content/tools/en/pyth.mdx new file mode 100644 index 00000000..5ae511b9 --- /dev/null +++ b/src/content/tools/en/pyth.mdx @@ -0,0 +1,16 @@ +--- +name: "Pyth" +category: ["Oracle"] +excerpt: "Pyth Network is the largest first-party oracle network, focusing on delivering real-time financial data." +logo: { src: "https://pbs.twimg.com/profile_images/1876029224277966848/ZvI083Fa_400x400.jpg", alt: "Pyth Logo" } +website: "https://pyth.network/" +network: ["Mainnet", "Testnet"] +--- + +You can find contract addresses for Pyth for Scroll Mainnet and Scroll Sepolia: + +- [How to use Pyth on Scroll](https://docs.pyth.network/price-feeds/use-real-time-data/evm) +- [Price Feed IDs for Scroll](https://www.pyth.network/developers/price-feed-ids) +- [Pyth Scroll Mainnet and Scroll Sepolia contracts](https://docs.pyth.network/price-feeds/contract-addresses/evm) + +