From c2a482bcd0e5278dd0e72e8388fde5ba2610afb0 Mon Sep 17 00:00:00 2001 From: bout3fiddy <11488427+bout3fiddy@users.noreply.github.com> Date: Tue, 12 Dec 2023 20:55:05 +0530 Subject: [PATCH] some readme fixes --- README.md | 43 +++++++++++-------------------------------- 1 file changed, 11 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index c5fdccc..9d1aeeb 100644 --- a/README.md +++ b/README.md @@ -401,46 +401,18 @@ To run tests in interactive mode, please do the following: ``` -> ape test -I -s +> python -m pytest ``` -# Deployment +# Deployment and Adding Registries -First, set up your account in Ape. If you're using an EOA that is a cold wallet, please do: - -``` -> ape accounts import <alias> -``` - -This will prompt you for a private key. If your account is a ledger account, then follow: - -``` -> ape ledger add <alias> -``` - -To deploy, please use the following command (example deployment in mainnet-fork): - -``` - -> ape run scripts/deploy.py main --network ethereum:mainnet-fork --account <your_account> - -``` - -## Adding Registries - -The following command simulates metaregistry setup. For Prod transactions, set network to anything that is not -`ethereum:mainnet-fork` (so: `ethereum:mainnet:geth` or `ethereum:mainnet:alchemy` is fine.) - -``` - -> ape run scripts/setup_metaregistry.py main --network ethereum:mainnet-fork --account <your_account> - -``` +Various deployment scripts are provided in the [scripts](./scripts/) folder. #### Deployments Ethereum Mainnet: + - `base_pool_registry`: [0xDE3eAD9B2145bBA2EB74007e58ED07308716B725](https://etherscan.io/address/0xDE3eAD9B2145bBA2EB74007e58ED07308716B725#code) - `crypto_registry`: [0x9a32aF1A11D9c937aEa61A3790C2983257eA8Bc0](https://etherscan.io/address/0x9a32aF1A11D9c937aEa61A3790C2983257eA8Bc0#code) - `stable_registry_handler`: [0x46a8a9CF4Fc8e99EC3A14558ACABC1D93A27de68](https://etherscan.io/address/0x46a8a9CF4Fc8e99EC3A14558ACABC1D93A27de68#code) @@ -449,6 +421,13 @@ Ethereum Mainnet: - `crypto_factory_handler`: [0xC4F389020002396143B863F6325aA6ae481D19CE](https://etherscan.io/address/0xC4F389020002396143B863F6325aA6ae481D19CE#code) - `metaregistry`: [0xF98B45FA17DE75FB1aD0e7aFD971b0ca00e379fC](https://etherscan.io/address/0xF98B45FA17DE75FB1aD0e7aFD971b0ca00e379fC#code) +### Roadmap + +1. StableSwap-ng Factory Handler +2. Twocrypto-ng Factory Handler +3. Tricrypto-ng Factory Handler +4. Deployments of Metaregistry with the above handlers across multiple chains. + ### License (c) Curve.Fi, 2023 - [All rights reserved](LICENSE).