Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ in a third terminal start the NextJS front end:
```

## Solved! (Final Steps)
Once you have a working solution and all the tests are passing your next move is to deploy your lovely contract to the Sepolia testnet.
Once you have a working solution and all the tests are passing your next move is to deploy your lovely contract to a supported testnet (e.g., Sepolia).

### Setting up your wallet (if you haven't already)
First you will need to generate an account. **You can skip this step if you have already created a keystore on your machine. Keystores are located in `~/.foundry/keystores`**
Expand All @@ -73,17 +73,18 @@ Run the following to view your new address and balances across several networks.
```bash
yarn account
```
To fund your account with Sepolia ETH simply search for "Sepolia testnet faucet" on Google or ask around in onchain developer groups who are usually more than willing to share. Send the funds to your wallet address and run `yarn account` again to verify the funds show in your Sepolia balance.
To fund your account with testnet ETH, use a faucet for your chosen supported network (for example, search for "Sepolia testnet faucet"). Send the funds to your wallet address and run `yarn account` again to verify the funds show in your balance for that network.

### Deploying your contract
Once you have confirmed your balance on Sepolia you can run this command to deploy your contract.
Sepolia is used below as an example. You can deploy to any supported testnet by substituting the network name; see the full list of [supported testnets](https://github.com/BuidlGuidl/eth-tech-tree-backend/blob/12799cc95950ee3bd8d523b8d2d2e2f05f131268/packages/server/utils/config.ts#L21).
Once you have confirmed your balance on your chosen testnet you can run this command to deploy your contract.
```bash
yarn deploy --network sepolia
```
Now you need to verify it on Sepolia Etherscan.
Now you need to verify it on the explorer for your chosen network. Replace `sepolia` below with your network.
```bash
yarn verify --network sepolia
```
Copy your deployed contract address from your console and paste it in at [sepolia.etherscan.io](https://sepolia.etherscan.io). You should see a green checkmark on the "Contract" tab showing that the source code has been verified.
Copy your deployed contract address from your console and paste it into the block explorer for your network (for example, [sepolia.etherscan.io](https://sepolia.etherscan.io)). You should see a green checkmark on the "Contract" tab showing that the source code has been verified.

Now you can return to the ETH Tech Tree CLI, navigate to this challenge in the tree and submit your deployed contract address. Congratulations!
11 changes: 6 additions & 5 deletions extension/README.md.args.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ in a third terminal start the NextJS front end:
\`\`\`

## Solved! (Final Steps)
Once you have a working solution and all the tests are passing your next move is to deploy your lovely contract to the Sepolia testnet.
Once you have a working solution and all the tests are passing your next move is to deploy your lovely contract to a supported testnet (e.g., Sepolia).

### Setting up your wallet (if you haven't already)
First you will need to generate an account. **You can skip this step if you have already created a keystore on your machine. Keystores are located in \`~/.foundry/keystores\`**
Expand All @@ -68,18 +68,19 @@ Run the following to view your new address and balances across several networks.
\`\`\`bash
yarn account
\`\`\`
To fund your account with Sepolia ETH simply search for "Sepolia testnet faucet" on Google or ask around in onchain developer groups who are usually more than willing to share. Send the funds to your wallet address and run \`yarn account\` again to verify the funds show in your Sepolia balance.
To fund your account with testnet ETH, use a faucet for your chosen supported network (for example, search for "Sepolia testnet faucet"). Send the funds to your wallet address and run \`yarn account\` again to verify the funds show in your balance for that network.

### Deploying your contract
Once you have confirmed your balance on Sepolia you can run this command to deploy your contract.
Sepolia is used below as an example. You can deploy to any supported testnet by substituting the network name; see the full list of [supported testnets](https://github.com/BuidlGuidl/eth-tech-tree-backend/blob/12799cc95950ee3bd8d523b8d2d2e2f05f131268/packages/server/utils/config.ts#L21).
Once you have confirmed your balance on your chosen testnet you can run this command to deploy your contract.
\`\`\`bash
yarn deploy --network sepolia
\`\`\`
Now you need to verify it on Sepolia Etherscan.
Now you need to verify it on the explorer for your chosen network. Replace \`sepolia\` below with your network.
\`\`\`bash
yarn verify --network sepolia
\`\`\`
Copy your deployed contract address from your console and paste it in at [sepolia.etherscan.io](https://sepolia.etherscan.io). You should see a green checkmark on the "Contract" tab showing that the source code has been verified.
Copy your deployed contract address from your console and paste it into the block explorer for your network (for example, [sepolia.etherscan.io](https://sepolia.etherscan.io)). You should see a green checkmark on the "Contract" tab showing that the source code has been verified.

Now you can return to the ETH Tech Tree CLI, navigate to this challenge in the tree and submit your deployed contract address. Congratulations!
`;
Expand Down