[solidity] fix image filepaths

This commit is contained in:
Boris Verkhovskiy 2024-12-08 22:39:38 -07:00
parent 29666fae5e
commit 4f8cffda2e
2 changed files with 14 additions and 14 deletions

View File

@ -59,23 +59,23 @@ trucchetto per iniziare ad usare Remix. Carica tutto il necessario [clickando su
1. Scegli il compilatore per Solidity 1. Scegli il compilatore per Solidity
![Solidity-in-remix](../images/solidity/remix-solidity.png) ![Solidity-in-remix](/images/solidity/remix-solidity.png)
2. Apri il file che si caricherà su quel link 2. Apri il file che si caricherà su quel link
![Solidity-choose-file](../images/solidity/remix-choose-file.png) ![Solidity-choose-file](/images/solidity/remix-choose-file.png)
3. Compila il file 3. Compila il file
![Solidity-compile](../images/solidity/remix-compile.png) ![Solidity-compile](/images/solidity/remix-compile.png)
4. Fai il deploy 4. Fai il deploy
![Solidity-deploy](../images/solidity/remix-deploy.png) ![Solidity-deploy](/images/solidity/remix-deploy.png)
5. Smanetta con i contratti 5. Smanetta con i contratti
![Solidity-deploy](../images/solidity/remix-interact.png) ![Solidity-deploy](/images/solidity/remix-interact.png)
Hai distribuito il tuo primo contratto! Congratulazioni! Hai distribuito il tuo primo contratto! Congratulazioni!
@ -94,7 +94,7 @@ scrivici l'indirizzo del tuo wallet Metamask.
Sul tuo Metamask, dovrai cambiare la testnet in `Kovan`. Sul tuo Metamask, dovrai cambiare la testnet in `Kovan`.
![Solidity-in-remix](../images/solidity/metamask-kovan.png) ![Solidity-in-remix](/images/solidity/metamask-kovan.png)
Riceverai degli Ethereum di test gratuiti. Abbiamo bisogno di Ethereum per Riceverai degli Ethereum di test gratuiti. Abbiamo bisogno di Ethereum per
distribuire degli smart contract su una testnet. distribuire degli smart contract su una testnet.
@ -108,7 +108,7 @@ l'`environment` selezionato in `injected web3`. In questo modo verrà usato
come network su cui fare il deploy qualsiasi network selezionato sul tuo come network su cui fare il deploy qualsiasi network selezionato sul tuo
Metamask. Metamask.
![Solidity-in-remix](../images/solidity/remix-testnet.png) ![Solidity-in-remix](/images/solidity/remix-testnet.png)
Per ora continua a usare la `JavaScript VM` a meno che non ti sia detto di Per ora continua a usare la `JavaScript VM` a meno che non ti sia detto di
cambiarla. Quando distribuisci su una testnet, Metamask aprirà un pop up che cambiarla. Quando distribuisci su una testnet, Metamask aprirà un pop up che

View File

@ -46,23 +46,23 @@ Once installed, we will be working with Remix. The below code will be pre-loaded
1. Choose the Solidity compiler 1. Choose the Solidity compiler
![Solidity-in-remix](images/solidity/remix-solidity.png) ![Solidity-in-remix](/images/solidity/remix-solidity.png)
2. Open the file loaded by that link 2. Open the file loaded by that link
![Solidity-choose-file](images/solidity/remix-choose-file.png) ![Solidity-choose-file](/images/solidity/remix-choose-file.png)
3. Compile the file 3. Compile the file
![Solidity-compile](images/solidity/remix-compile.png) ![Solidity-compile](/images/solidity/remix-compile.png)
4. Deploy 4. Deploy
![Solidity-deploy](images/solidity/remix-deploy.png) ![Solidity-deploy](/images/solidity/remix-deploy.png)
5. Play with contracts 5. Play with contracts
![Solidity-deploy](images/solidity/remix-interact.png) ![Solidity-deploy](/images/solidity/remix-interact.png)
You've deployed your first contract! Congrats! You've deployed your first contract! Congrats!
@ -78,7 +78,7 @@ To do this let's first get some testnet ETH from the Kovan testnet.
In your metamask, you'll want to change to the `Kovan` testnet. In your metamask, you'll want to change to the `Kovan` testnet.
![Solidity-in-remix](images/solidity/metamask-kovan.png) ![Solidity-in-remix](/images/solidity/metamask-kovan.png)
You'll be given some free test Ethereum. Ethereum is needed to deploy smart contracts when working with a testnet. You'll be given some free test Ethereum. Ethereum is needed to deploy smart contracts when working with a testnet.
@ -88,7 +88,7 @@ When working with a testnet, we can actually see and interact with our contracts
To deploy to a testnet, on the `#4 Deploy` step, change your `environment` to `injected web3`. To deploy to a testnet, on the `#4 Deploy` step, change your `environment` to `injected web3`.
This will use whatever network is currently selected in your metamask as the network to deploy to. This will use whatever network is currently selected in your metamask as the network to deploy to.
![Solidity-in-remix](images/solidity/remix-testnet.png) ![Solidity-in-remix](/images/solidity/remix-testnet.png)
For now, please continue to use the `JavaScript VM` unless instructed otherwise. When you deploy to a testnet, metamask will pop up to ask you to "confirm" the transaction. Hit yes, and after a delay, you'll get the same contract interface at the bottom of your screen. For now, please continue to use the `JavaScript VM` unless instructed otherwise. When you deploy to a testnet, metamask will pop up to ask you to "confirm" the transaction. Hit yes, and after a delay, you'll get the same contract interface at the bottom of your screen.