From 652c63344839b569643857969ad29eec86235118 Mon Sep 17 00:00:00 2001 From: Madeline Murray Date: Thu, 8 May 2025 16:37:27 +1000 Subject: [PATCH 1/2] Added link to adding new strategy to operator set --- docs/developers/build-an-avs/howto/build/avs-permissionlesss.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/developers/build-an-avs/howto/build/avs-permissionlesss.md b/docs/developers/build-an-avs/howto/build/avs-permissionlesss.md index c3435ca5..a61e1f8b 100644 --- a/docs/developers/build-an-avs/howto/build/avs-permissionlesss.md +++ b/docs/developers/build-an-avs/howto/build/avs-permissionlesss.md @@ -22,6 +22,8 @@ To add a new Strategy to the EigenLayer protocol: Please see the contract documentation [here](https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/StrategyManager.md#strategyfactorydeploynewstrategy) for further detail. +Once the strategy has been added to EigenLayer, add to [Operator Sets for your AVS](manage-operator-sets.md#modify-strategy-composition). + :::note Custom Strategies are strategies that are not deployed via `StrategyFactory.deployNewStrategy()` and require whitelisting via `StrategyFactory.whitelistStrategies` (see [here](https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/StrategyManager.md#strategyfactorywhiteliststrategies)). Custom Strategies have custom bytecode and do not implement `StrategyBase`. From c2992cec7b97f996c11d050557e1d8548f1c4319 Mon Sep 17 00:00:00 2001 From: Madeline Murray Date: Mon, 12 May 2025 10:51:09 +1000 Subject: [PATCH 2/2] Updated adding an ERC20 token --- .../howto/build/add-erc20-token.md | 28 +++++++++++++++ .../howto/build/avs-permissionlesss.md | 34 ------------------- docs/restakers/concepts/overview.md | 2 +- 3 files changed, 29 insertions(+), 35 deletions(-) create mode 100644 docs/developers/build-an-avs/howto/build/add-erc20-token.md delete mode 100644 docs/developers/build-an-avs/howto/build/avs-permissionlesss.md diff --git a/docs/developers/build-an-avs/howto/build/add-erc20-token.md b/docs/developers/build-an-avs/howto/build/add-erc20-token.md new file mode 100644 index 00000000..d7adcd91 --- /dev/null +++ b/docs/developers/build-an-avs/howto/build/add-erc20-token.md @@ -0,0 +1,28 @@ +--- +sidebar_position: 7 +title: Add an ERC-20 Token as a Restakable Asset +--- + +Any ERC-20 token can be permissionlessly added as a restakable asset, significantly broadening +the scope of assets that can contribute to the security of decentralized networks, and unlocking the cryptoeconomic security of +ERC-20 tokens on EigenLayer. Strategies are contracts that hold assets that are restaked into EigenLayer. + +AVSs can choose to accept any ERC-20 token as a restaked asset to provide cryptoeconomic security for +their AVS. This allows AVSs to evaluate the supply and utility of all available tokens to create cross-ecosystem partnerships +while ensuring the safety and security of their services. This increases alignment and connectivity across the ecosystem. + +## Adding a New Strategy + +To add a new Strategy to the EigenLayer protocol, invoke [`StrategyFactory.deployNewStrategy()`](https://github.com/Layr-Labs/eigenlayer-contracts/blob/main/docs/core/StrategyManager.md#strategyfactorydeploynewstrategy). +The Strategy is now available to be associated with AVSs. + +Once the strategy has been added to EigenLayer, add to [Operator Sets for your AVS](manage-operator-sets.md#modify-strategy-composition). + +:::note +Custom Strategies have custom bytecode and do not implement `StrategyBase`. Custom Strategies are strategies that are not +deployed via `StrategyFactory.deployNewStrategy()` and require whitelisting via [`StrategyFactory.whitelistStrategies`](https://github.com/Layr-Labs/eigenlayer-contracts/blob/main/docs/core/StrategyManager.md#strategyfactorywhiteliststrategies). + +Custom Strategies are not yet supported because the Strategies specification is still evolving alongside the EigenLayer +protocol. AVS developers should build their AVS using the `StrategyBase` interface and functionality, which provides a +stable and supported foundation for integration. +::: \ No newline at end of file diff --git a/docs/developers/build-an-avs/howto/build/avs-permissionlesss.md b/docs/developers/build-an-avs/howto/build/avs-permissionlesss.md deleted file mode 100644 index a61e1f8b..00000000 --- a/docs/developers/build-an-avs/howto/build/avs-permissionlesss.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -sidebar_position: 7 -title: Add ERC-20 Tokens as Restakable Asset ---- - -# Permissionless Token Strategies - -Permissionless token support enables any ERC-20 token to be permissionlessly added as a restakable asset, significantly broadening -the scope of assets that can contribute to the security of decentralized networks, and unlocking the cryptoeconomic security of -ERC-20 tokens on EigenLayer. - -With permissionless token support, AVSs can choose to accept any ERC-20 token as a restaked asset to provide cryptoeconomic security for -their AVS. This allows AVSs to evaluate the supply and utility of all available tokens to create cross-ecosystem partnerships -while ensuring the safety and security of their services. This increases alignment and connectivity across the ecosystem. - -# Adding a New Strategy - -To add a new Strategy to the EigenLayer protocol: - -* Invoke `StrategyFactory.deployNewStrategy()`. -* Your Strategy is now available to associate with your AVS. - -Please see the contract documentation [here](https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/StrategyManager.md#strategyfactorydeploynewstrategy) for further detail. - -Once the strategy has been added to EigenLayer, add to [Operator Sets for your AVS](manage-operator-sets.md#modify-strategy-composition). - -:::note -Custom Strategies are strategies that are not deployed via `StrategyFactory.deployNewStrategy()` and require whitelisting via -`StrategyFactory.whitelistStrategies` (see [here](https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/StrategyManager.md#strategyfactorywhiteliststrategies)). Custom Strategies have custom bytecode and do not implement `StrategyBase`. - -Custom Strategies are not yet supported because the Strategies specification is still evolving alongside the EigenLayer -protocol. AVS developers should build their AVS using the `StrategyBase` interface and functionality, which provides a -stable and supported foundation for integration. -::: \ No newline at end of file diff --git a/docs/restakers/concepts/overview.md b/docs/restakers/concepts/overview.md index 050d361f..a06e27fb 100644 --- a/docs/restakers/concepts/overview.md +++ b/docs/restakers/concepts/overview.md @@ -6,7 +6,7 @@ title: Restaking Overview ## **Liquid & Native Restaking** -**Liquid restaking** is the process of depositing "liquid" tokens, including LSTs, EIGEN token, and any ERC20 token into the EigenLayer smart contracts. For more information about adding new ERC20 tokens, please see [Permissionless Token Strategies](../../developers/build-an-avs/howto/build/avs-permissionlesss.md). +**Liquid restaking** is the process of depositing "liquid" tokens, including LSTs, EIGEN token, and any ERC20 token into the EigenLayer smart contracts. For more information about adding new ERC20 tokens, refer to [Add an ERC-20 Token as a Restakable Asset](../../developers/build-an-avs/howto/build/add-erc20-token). **Native restaking** is the process of changing an Ethereum validator's[ withdrawal credentials](https://notes.ethereum.org/@launchpad/withdrawals-faq#Q-What-are-withdrawals) to EigenLayer's smart contracts. You must operate an Ethereum Validator node in order to participate in Native Restaking. To learn more or set up your Ethereum Validator please follow this link from the[ Ethereum Foundation](https://launchpad.ethereum.org/).