From 8cbba41ff77d28589b16e83c9433b411bf790598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Blanchemain?= Date: Mon, 22 Jul 2024 07:58:21 -0700 Subject: [PATCH 1/2] fix: update file extensions md > mdx --- ...ylus-gentle-introduction.md => stylus-gentle-introduction.mdx} | 0 .../stylus/{stylus-quickstart.md => stylus-quickstart.mdx} | 0 ...ing-building-stylus.md => troubleshooting-building-stylus.mdx} | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename arbitrum-docs/stylus/{stylus-gentle-introduction.md => stylus-gentle-introduction.mdx} (100%) rename arbitrum-docs/stylus/{stylus-quickstart.md => stylus-quickstart.mdx} (100%) rename arbitrum-docs/stylus/{troubleshooting-building-stylus.md => troubleshooting-building-stylus.mdx} (100%) diff --git a/arbitrum-docs/stylus/stylus-gentle-introduction.md b/arbitrum-docs/stylus/stylus-gentle-introduction.mdx similarity index 100% rename from arbitrum-docs/stylus/stylus-gentle-introduction.md rename to arbitrum-docs/stylus/stylus-gentle-introduction.mdx diff --git a/arbitrum-docs/stylus/stylus-quickstart.md b/arbitrum-docs/stylus/stylus-quickstart.mdx similarity index 100% rename from arbitrum-docs/stylus/stylus-quickstart.md rename to arbitrum-docs/stylus/stylus-quickstart.mdx diff --git a/arbitrum-docs/stylus/troubleshooting-building-stylus.md b/arbitrum-docs/stylus/troubleshooting-building-stylus.mdx similarity index 100% rename from arbitrum-docs/stylus/troubleshooting-building-stylus.md rename to arbitrum-docs/stylus/troubleshooting-building-stylus.mdx From a7d943142fd8efcfcb3efc1b816ab40033307f90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Blanchemain?= Date: Mon, 22 Jul 2024 08:01:07 -0700 Subject: [PATCH 2/2] fix: update links md > mdx --- arbitrum-docs/partials/_gentle-intro-partial.md | 2 +- arbitrum-docs/run-arbitrum-node/arbos-releases/arbos30.md | 2 +- .../stylus/how-tos/adding-support-for-new-languages.mdx | 2 +- arbitrum-docs/stylus/reference/rust-sdk-guide.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arbitrum-docs/partials/_gentle-intro-partial.md b/arbitrum-docs/partials/_gentle-intro-partial.md index 2965d4bd9..936d60cf6 100644 --- a/arbitrum-docs/partials/_gentle-intro-partial.md +++ b/arbitrum-docs/partials/_gentle-intro-partial.md @@ -57,7 +57,7 @@ Much development went into achieving this level of Ethereum compatibility. But a #### Q: So builders can do all the stuff they do on Ethereum on Arbitrum, nice! But can they do _more_? -They can; the latest version of the Arbitrum tech stack, called Stylus, keeps Nitro's Ethereum compatibility, while adding on powerful new features, namely the ability to write highly performant smart contracts in programming languages like Rust, C++, and more. Stylus is currently on public testnet; you can read more about it [here](../stylus/stylus-gentle-introduction.md). +They can; the latest version of the Arbitrum tech stack, called Stylus, keeps Nitro's Ethereum compatibility, while adding on powerful new features, namely the ability to write highly performant smart contracts in programming languages like Rust, C++, and more. Stylus is currently on public testnet; you can read more about it [here](../stylus/stylus-gentle-introduction.mdx). #### Q: So it sounds like Arbitrum Rollup is an ideal solution that solves any and all scaling problems…? diff --git a/arbitrum-docs/run-arbitrum-node/arbos-releases/arbos30.md b/arbitrum-docs/run-arbitrum-node/arbos-releases/arbos30.md index 7a2d1833d..e6d257229 100644 --- a/arbitrum-docs/run-arbitrum-node/arbos-releases/arbos30.md +++ b/arbitrum-docs/run-arbitrum-node/arbos-releases/arbos30.md @@ -25,7 +25,7 @@ ArbOS 30 Bianca is a major upgrade for Arbitrum chains and ArbOS upgrades can be ArbOS 30 Bianca brings many features, improvements, and bug fixes to Arbitrum chains. The full list of changes can be found in the Nitro release notes for [Nitro 3.0.0](https://github.com/OffchainLabs/nitro/releases/tag/v3.0.0) or higher (as Nitro 3.0.0 is the first Nitro version that adds support for ArbOS 30 Bianca). Highlighted below are a few of the most impactful and critical features that are introduced with ArbOS 30: -- Activation of [Stylus](../../stylus/stylus-gentle-introduction.md) on Arbitrum chains through the addition of a new WebAssembly-based virtual machine that runs alongside the EVM. Stylus enables developers to write smart contracts in new programming languages that compile down to WASM, like Rust, that are more efficient and safer than Solidity smart contracts while retaining complete interoperability. +- Activation of [Stylus](../../stylus/stylus-gentle-introduction.mdx) on Arbitrum chains through the addition of a new WebAssembly-based virtual machine that runs alongside the EVM. Stylus enables developers to write smart contracts in new programming languages that compile down to WASM, like Rust, that are more efficient and safer than Solidity smart contracts while retaining complete interoperability. - Adoption of [RIP-7212](https://github.com/ethereum/RIPs/blob/master/RIPS/rip-7212.md), a precompile for verifying the [`Secp256r1 or P-256 curve`](https://www.nervos.org/knowledge-base/what_is_secp256r1) on Arbitrum chains. Adding support for this precompile allows account abstraction wallets to cheaply verify a type of signature widely used in passkeys and secure enclaves. - V0 support for Arbitrum Nitro node snap sync, enabling a Nitro node to sync from a snapshot already accepted from L1 through the propagation of blockstate from other nodes in the network. - A change to the transaction fee router contracts on Arbitrum Nova to allow for fees collected to be automatically sent to the ArbitrumDAO Treasury on Arbitrum One. Currently, the ArbitrumDAO receives Arbitrum Nova transaction fees are sent to a ArbitrumDAO controlled address that requires a consitutional proposal to move, which is less efficient. This change is specific to Arbitrum Nova and is not expected to impact Orbit chains. diff --git a/arbitrum-docs/stylus/how-tos/adding-support-for-new-languages.mdx b/arbitrum-docs/stylus/how-tos/adding-support-for-new-languages.mdx index e367cb6f6..6c779c9a6 100644 --- a/arbitrum-docs/stylus/how-tos/adding-support-for-new-languages.mdx +++ b/arbitrum-docs/stylus/how-tos/adding-support-for-new-languages.mdx @@ -12,7 +12,7 @@ import PublicPreviewBannerPartial from '../partials/_stylus-public-preview-banne -[Arbitrum Stylus](../stylus-gentle-introduction.md) is a new technology developed for Arbitrum chains which gives smart contract developers superpowers. With Stylus, developers can write EVM-compatible smart contracts in many different programming languages, and reap massive performance gains. Stylus slashes fees, with performance gains ranging from 10-70x, and memory efficiency gains as high as 100-500x. +[Arbitrum Stylus](../stylus-gentle-introduction.mdx) is a new technology developed for Arbitrum chains which gives smart contract developers superpowers. With Stylus, developers can write EVM-compatible smart contracts in many different programming languages, and reap massive performance gains. Stylus slashes fees, with performance gains ranging from 10-70x, and memory efficiency gains as high as 100-500x. This is possible thanks to [WebAssembly](https://www.infoworld.com/article/3291780/what-is-webassembly-the-next-generation-web-platform-explained.html) technology, which all Stylus programs compile to. Stylus smart contracts live under the **same Ethereum state trie** in Arbitrum nodes, and can fully interoperate with Solidity or Vyper EVM smart contracts. With Stylus, developers can write smart contracts in Rust that talk to Solidity and vice versa without any limitations. diff --git a/arbitrum-docs/stylus/reference/rust-sdk-guide.md b/arbitrum-docs/stylus/reference/rust-sdk-guide.md index a4f73e104..29b559920 100644 --- a/arbitrum-docs/stylus/reference/rust-sdk-guide.md +++ b/arbitrum-docs/stylus/reference/rust-sdk-guide.md @@ -11,7 +11,7 @@ import PublicPreviewBannerPartial from '../partials/_stylus-public-preview-banne -This document provides an in-depth overview of the features provided by the [Stylus Rust SDK](https://github.com/OffchainLabs/stylus-sdk-rs). For information about deploying Rust smart contracts, see the `cargo stylus` [CLI Tool](https://github.com/OffchainLabs/cargo-stylus). For a conceptual introduction to Stylus, see [Stylus: A Gentle Introduction](../stylus-gentle-introduction.md). To deploy your first Stylus smart contract using Rust, refer to the [Quickstart](../stylus-quickstart.md). +This document provides an in-depth overview of the features provided by the [Stylus Rust SDK](https://github.com/OffchainLabs/stylus-sdk-rs). For information about deploying Rust smart contracts, see the `cargo stylus` [CLI Tool](https://github.com/OffchainLabs/cargo-stylus). For a conceptual introduction to Stylus, see [Stylus: A Gentle Introduction](../stylus-gentle-introduction.mdx). To deploy your first Stylus smart contract using Rust, refer to the [Quickstart](../stylus-quickstart.mdx). The Stylus Rust SDK is built on top of [Alloy](https://www.paradigm.xyz/2023/06/alloy), a collection of crates empowering the Rust Ethereum ecosystem. Because the SDK uses the same [Rust primitives for Ethereum types](https://docs.rs/alloy-primitives/latest/alloy_primitives/), Stylus is compatible with existing Rust libraries.