From 2acbb880a050387f53ab004d9b392b731d4dc4b0 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Fri, 15 Sep 2023 10:05:08 +0100 Subject: [PATCH] Remix plugin link rename --- src/ch00-01-variables.md | 6 +++--- src/ch00-02-errors.md | 6 +++--- src/ch00-03-calling_other_contracts.md | 4 ++-- src/ch00-06-mappings.md | 2 +- src/ch00-07-constructor.md | 2 +- src/ch00-08-visibility-mutability.md | 2 +- src/ch00-10-events.md | 2 +- src/ch00-11-counter.md | 2 +- src/ch00-12-storing-custom-types.md | 2 +- src/ch00-13-custom-types-in-entrypoints.md | 2 +- src/ch00-14-interfaces-traits.md | 6 +++--- src/ch00-15-contract-testing.md | 2 +- src/ch01-01-write_to_any_slot.md | 2 +- src/ch01-02-storing_arrays.md | 2 +- src/ch01-03-struct-mapping-key.md | 2 +- src/ch02-01-upgradeable_contract.md | 4 ++-- src/ch02-02-simple_vault.md | 2 +- 17 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/ch00-01-variables.md b/src/ch00-01-variables.md index 25ae5acc..7b33daa4 100644 --- a/src/ch00-01-variables.md +++ b/src/ch00-01-variables.md @@ -23,7 +23,7 @@ Here's a simple example of a contract with only local variables: ```rust {{#include ../listings/ch00-introduction/variables/src/local_variables.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x015B3a10F9689BeD741Ca3C210017BC097122CeF76f3cAA191A20ff8b9b56b96) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/variables/src/local_variables.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x015B3a10F9689BeD741Ca3C210017BC097122CeF76f3cAA191A20ff8b9b56b96) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/variables/src/local_variables.cairo). ## Storage Variables @@ -38,7 +38,7 @@ Here's a simple example of a contract with one storage variable: ```rust {{#include ../listings/ch00-introduction/variables/src/storage_variables.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x06eA827B32875483709b785A7F9e846a52776Cd8D42C3fE696218c2624b0DCCa) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/variables/src/storage_variables.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x06eA827B32875483709b785A7F9e846a52776Cd8D42C3fE696218c2624b0DCCa) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/variables/src/storage_variables.cairo). ## Global Variables @@ -51,4 +51,4 @@ For example, the `get_caller_address` function returns the address of the caller ```rust {{#include ../listings/ch00-introduction/variables/src/global_variables.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x05bD2F3943bd4e030f85678b55b2EC2C1be939e32388530FB20ED967B3Be433F) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/variables/src/global_variables.cairo). \ No newline at end of file +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x05bD2F3943bd4e030f85678b55b2EC2C1be939e32388530FB20ED967B3Be433F) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/variables/src/global_variables.cairo). \ No newline at end of file diff --git a/src/ch00-02-errors.md b/src/ch00-02-errors.md index 8711f1a5..5fabe625 100644 --- a/src/ch00-02-errors.md +++ b/src/ch00-02-errors.md @@ -18,7 +18,7 @@ Here's a simple example that demonstrates the use of these functions: ```rust {{#include ../listings/ch00-introduction/errors/src/simple_errors.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x0022664463FF0b711CC9B549a9E87d65A0882bB1D29338C4108696B8F2216a40) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/errors/src/simple_errors.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x0022664463FF0b711CC9B549a9E87d65A0882bB1D29338C4108696B8F2216a40) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/errors/src/simple_errors.cairo). ## Custom errors @@ -27,7 +27,7 @@ You can make error handling easier by defining your error codes in a specific mo ```rust {{#include ../listings/ch00-introduction/errors/src/custom_errors.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x0501CD5da5B453a18515B5A20b8029bd7583DFE7a399ad9f79c284F7829e4A57) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/errors/src/custom_errors.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x0501CD5da5B453a18515B5A20b8029bd7583DFE7a399ad9f79c284F7829e4A57) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/errors/src/custom_errors.cairo). ## Vault example @@ -36,4 +36,4 @@ Here's another example that demonstrates the use of errors in a more complex con ```rust {{#include ../listings/ch00-introduction/errors/src/vault_errors.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x020C2da26F42A28Ef54ED428eF1810FE433784b055f9bF315C5d992b1579C268) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/errors/src/vault_errors.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x020C2da26F42A28Ef54ED428eF1810FE433784b055f9bF315C5d992b1579C268) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/errors/src/vault_errors.cairo). diff --git a/src/ch00-03-calling_other_contracts.md b/src/ch00-03-calling_other_contracts.md index fb1e2c9d..a6a5e690 100644 --- a/src/ch00-03-calling_other_contracts.md +++ b/src/ch00-03-calling_other_contracts.md @@ -12,9 +12,9 @@ In order to call other contracts using dispatchers, you will need to define the ```rust {{#include ../listings/ch00-introduction/calling_other_contracts/src/callee.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x015c3Bb6D0DE26b64FEAF9A8f4655CfADb5c128bF4510398972704ee12775DB1) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/calling_other_contracts/src/callee.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x015c3Bb6D0DE26b64FEAF9A8f4655CfADb5c128bF4510398972704ee12775DB1) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/calling_other_contracts/src/callee.cairo). ```rust {{#include ../listings/ch00-introduction/calling_other_contracts/src/caller.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x05fa8aF796343d2f22c53C17149386b67B7AC4aB52D9e308Aa507C185aA44778) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/calling_other_contracts/src/caller.cairo). \ No newline at end of file +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x05fa8aF796343d2f22c53C17149386b67B7AC4aB52D9e308Aa507C185aA44778) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/calling_other_contracts/src/caller.cairo). \ No newline at end of file diff --git a/src/ch00-06-mappings.md b/src/ch00-06-mappings.md index 28851fc0..82b9ca6d 100644 --- a/src/ch00-06-mappings.md +++ b/src/ch00-06-mappings.md @@ -13,4 +13,4 @@ Some additional notes: ```rust {{#include ../listings/ch00-introduction/mappings/src/mappings.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x06214AB4c23Cc545bf2221D465eB83aFb7412779AD498BD48a724B3F645E3505) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/mappings/src/mappings.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x06214AB4c23Cc545bf2221D465eB83aFb7412779AD498BD48a724B3F645E3505) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/mappings/src/mappings.cairo). diff --git a/src/ch00-07-constructor.md b/src/ch00-07-constructor.md index 7b5258c6..7488e18e 100644 --- a/src/ch00-07-constructor.md +++ b/src/ch00-07-constructor.md @@ -7,4 +7,4 @@ Here's a simple example that demonstrates how to initialize the state of a contr ```rust {{#include ../listings/ch00-introduction/constructor/src/lib.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x017fd6558e67451dA583d123D77F4e2651E91502D08F8F8432355293b11e1f8F) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/constructor/src/lib.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x017fd6558e67451dA583d123D77F4e2651E91502D08F8F8432355293b11e1f8F) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/constructor/src/lib.cairo). diff --git a/src/ch00-08-visibility-mutability.md b/src/ch00-08-visibility-mutability.md index f078f895..cf0c5539 100644 --- a/src/ch00-08-visibility-mutability.md +++ b/src/ch00-08-visibility-mutability.md @@ -27,4 +27,4 @@ Let's take a look at a simple example contract to see these in action: ```rust {{#include ../listings/ch00-introduction/visibility/src/visibility.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x0071dE3093AB58053b0292C225aa0eED40293e7694A0042685FF6D813d39889F) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/visibility/src/visibility.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x0071dE3093AB58053b0292C225aa0eED40293e7694A0042685FF6D813d39889F) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/visibility/src/visibility.cairo). diff --git a/src/ch00-10-events.md b/src/ch00-10-events.md index bc5bf105..8fd708f4 100644 --- a/src/ch00-10-events.md +++ b/src/ch00-10-events.md @@ -8,4 +8,4 @@ Here's a simple example of a contract using events that emit an event each time ```rust {{#include ../listings/ch00-introduction/events/src/counter.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x022e3B59518EA04aBb5da671ea04ecC3a154400f226d2Df38eFE146741b9E2F6) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/events/src/counter.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x022e3B59518EA04aBb5da671ea04ecC3a154400f226d2Df38eFE146741b9E2F6) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/events/src/counter.cairo). diff --git a/src/ch00-11-counter.md b/src/ch00-11-counter.md index c123cb9e..dfbb07f4 100644 --- a/src/ch00-11-counter.md +++ b/src/ch00-11-counter.md @@ -13,4 +13,4 @@ Here's how it works: ```rust {{#include ../listings/ch00-introduction/counter/src/counter.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x01664a69Fe701a1df7Bb0ae4A353792d0cf4E27146ee860075cbf6108b1D5718) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/counter/src/counter.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x01664a69Fe701a1df7Bb0ae4A353792d0cf4E27146ee860075cbf6108b1D5718) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/counter/src/counter.cairo). diff --git a/src/ch00-12-storing-custom-types.md b/src/ch00-12-storing-custom-types.md index 71264536..e82fc52a 100644 --- a/src/ch00-12-storing-custom-types.md +++ b/src/ch00-12-storing-custom-types.md @@ -6,4 +6,4 @@ While native types can be stored in a contract's storage without any additional {{#include ../listings/ch00-introduction/storing_custom_types/src/lib.cairo}} ``` -Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/storing_custom_types/src/lib.cairo). +Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/storing_custom_types/src/lib.cairo). diff --git a/src/ch00-13-custom-types-in-entrypoints.md b/src/ch00-13-custom-types-in-entrypoints.md index fd56d4c4..0d77e783 100644 --- a/src/ch00-13-custom-types-in-entrypoints.md +++ b/src/ch00-13-custom-types-in-entrypoints.md @@ -7,4 +7,4 @@ Thankfully, we can just derive the `Serde` trait for our custom type. {{#include ../listings/ch00-introduction/custom_type_serde/src/lib.cairo}} ``` -Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/custom_type_serde/src/lib.cairo). +Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/custom_type_serde/src/lib.cairo). diff --git a/src/ch00-14-interfaces-traits.md b/src/ch00-14-interfaces-traits.md index 6ad06c00..8ccfa85c 100644 --- a/src/ch00-14-interfaces-traits.md +++ b/src/ch00-14-interfaces-traits.md @@ -19,7 +19,7 @@ In summary, there's two ways to handle interfaces: {{#include ../listings/ch00-introduction/interfaces_traits/src/explicit.cairo:code}} ``` -Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/interfaces_traits/src/explicit.cairo). +Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/interfaces_traits/src/explicit.cairo). ## Implicit interface @@ -27,7 +27,7 @@ Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starkne {{#include ../listings/ch00-introduction/interfaces_traits/src/implicit.cairo:code}} ``` -Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/interfaces_traits/src/implicit.cairo). +Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/interfaces_traits/src/implicit.cairo). > Note: You can import an implicitly generated contract interface with `use contract::{GeneratedContractInterface}`. However, the `Dispatcher` will not be generated automatically. @@ -40,4 +40,4 @@ Since this trait is generated in the context of the contract, you can define pur {{#include ../listings/ch00-introduction/interfaces_traits/src/implicit_internal.cairo:code}} ``` -Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/interfaces_traits/src/implicit_internal.cairo). +Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/interfaces_traits/src/implicit_internal.cairo). diff --git a/src/ch00-15-contract-testing.md b/src/ch00-15-contract-testing.md index 40341c29..8b212ce8 100644 --- a/src/ch00-15-contract-testing.md +++ b/src/ch00-15-contract-testing.md @@ -12,7 +12,7 @@ Now, take a look at the tests for this contract: {{#include ../listings/ch00-introduction/testing/src/lib.cairo:test}} ``` -Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/testing/src/lib.cairo). +Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch00-introduction/testing/src/lib.cairo). To define our test, we use scarb, which allows us to create a separate module guarded with `#[cfg(test)]`. This ensures that the test module is only compiled when running tests using `scarb test`. diff --git a/src/ch01-01-write_to_any_slot.md b/src/ch01-01-write_to_any_slot.md index 5836ba90..a48cef27 100644 --- a/src/ch01-01-write_to_any_slot.md +++ b/src/ch01-01-write_to_any_slot.md @@ -11,4 +11,4 @@ In the following example, we use the Poseidon hash function to compute the addre ```rust {{#include ../listings/ch01-advanced-concepts/write_to_any_slot/src/write_any_slot.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x033943CB781A4E63C9dcE0A1A09eAa3b617AA43CC61637C08c043a67f3fe0087) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch01-advanced-concepts/write_to_any_slot/src/write_any_slot.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x033943CB781A4E63C9dcE0A1A09eAa3b617AA43CC61637C08c043a67f3fe0087) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch01-advanced-concepts/write_to_any_slot/src/write_any_slot.cairo). diff --git a/src/ch01-02-storing_arrays.md b/src/ch01-02-storing_arrays.md index 72e4861e..997ef595 100644 --- a/src/ch01-02-storing_arrays.md +++ b/src/ch01-02-storing_arrays.md @@ -15,5 +15,5 @@ You can then import this implementation in your contract and use it to store arr ```rust {{#include ../listings/ch01-advanced-concepts/storing_arrays/src/storing_arrays.cairo:StoreArrayContract}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x008F8069a3Fcd7691Db46Dc3b6F9D2C0436f9200E861330957Fd780A3595da86) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch01-advanced-concepts/storing_arrays/src/storing_arrays.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x008F8069a3Fcd7691Db46Dc3b6F9D2C0436f9200E861330957Fd780A3595da86) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch01-advanced-concepts/storing_arrays/src/storing_arrays.cairo). diff --git a/src/ch01-03-struct-mapping-key.md b/src/ch01-03-struct-mapping-key.md index 151f08a5..974a160b 100644 --- a/src/ch01-03-struct-mapping-key.md +++ b/src/ch01-03-struct-mapping-key.md @@ -9,4 +9,4 @@ type `Pet` as a key in a `LegacyMap`. The `Pet` struct has three fields: `name`, {{#include ../listings/ch01-advanced-concepts/struct_as_mapping_key/src/contract.cairo}} ``` -Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch01-advanced-concepts/struct_as_mapping_key/src/contract.cairo). \ No newline at end of file +Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch01-advanced-concepts/struct_as_mapping_key/src/contract.cairo). \ No newline at end of file diff --git a/src/ch02-01-upgradeable_contract.md b/src/ch02-01-upgradeable_contract.md index 5a9e8eb2..011b7dbd 100644 --- a/src/ch02-01-upgradeable_contract.md +++ b/src/ch02-01-upgradeable_contract.md @@ -25,11 +25,11 @@ Start by deploying `UpgradeableContract_V0` as the initial version. Next, send a ```rust {{#include ../listings/ch02-applications/upgradeable_contract/src/upgradeable_contract_v0.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x005300003ade5d10447d941a42d48b7141074cd8bade2b16520684896a5090ea) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch02-applications/upgradeable_contract/src/upgradeable_contract_v0.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x005300003ade5d10447d941a42d48b7141074cd8bade2b16520684896a5090ea) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch02-applications/upgradeable_contract/src/upgradeable_contract_v0.cairo). ```rust {{#include ../listings/ch02-applications/upgradeable_contract/src/upgradeable_contract_v1.cairo}} ``` -Visit contract on [Voyager](https://goerli.voyager.online/contract/0x017c86152badd1d665b9836571bd6b0a484f028748aa13d9b2d5d9c9192fafc6) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch02-applications/upgradeable_contract/src/upgradeable_contract_v1.cairo). +Visit contract on [Voyager](https://goerli.voyager.online/contract/0x017c86152badd1d665b9836571bd6b0a484f028748aa13d9b2d5d9c9192fafc6) or play with it in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch02-applications/upgradeable_contract/src/upgradeable_contract_v1.cairo). diff --git a/src/ch02-02-simple_vault.md b/src/ch02-02-simple_vault.md index 951148c6..8ca18b4c 100644 --- a/src/ch02-02-simple_vault.md +++ b/src/ch02-02-simple_vault.md @@ -11,4 +11,4 @@ Here's how it works: {{#include ../listings/ch02-applications/simple_vault/src/simple_vault.cairo}} ``` -Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet-cairo1-compiler&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch02-applications/simple_vault/src/simple_vault.cairo). \ No newline at end of file +Play with this contract in [Remix](https://remix.ethereum.org/?#activate=Starknet&url=https://github.com/NethermindEth/StarknetByExample/blob/main/listings/ch02-applications/simple_vault/src/simple_vault.cairo). \ No newline at end of file