You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Build a Petition Filing dApp on the Fuel Network/1. Getting Started/1. What Are We Building Today.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ As a developer, you will be getting the following outcomes when you complete thi
32
32
33
33
If you complete this course with me, you will be getting XPs and a special NFT which will unlock many more opportunities for you on the Metaschool platform. Here is what the NFT looks like.
Copy file name to clipboardExpand all lines: Build a Petition Filing dApp on the Fuel Network/4. Writing Your Smart Contract/1. Set Up the Sway Project.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ Report Bugs:
49
49
50
50
Now, open the project folder, `petition-app` in the VS code. Here’s what the project structure will look like.
We will use the `data_structures` folder to create different components of our `petition-contract` such as creating a campaign, tracking the campaign, and representing the current state of the campaign to the user and keeping track of the number of signs on one campaign.
Copy file name to clipboardExpand all lines: Build a Petition Filing dApp on the Fuel Network/4. Writing Your Smart Contract/2. Let’s Add the States and Interfaces.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ I’m so proud of you for coming this far in the course. In this lesson, we will
6
6
7
7
The contract in Sway is callable and stateful. It is deployed to the blockchain via transaction. Think of a smart contract as a deployed API that comes with a database state. In Sway, each file is defined by a program type, followed by the import of an ABI. So, before moving on to writing our contract, `main.sw`. We will write four different ABIs that we will eventually use in our smart contract. These ABIs are like libraries that will perform different tasks and help us keep records of the different information.
Copy file name to clipboardExpand all lines: Build a Petition Filing dApp on the Fuel Network/5. Deploy the dApp/1. Setup Fuel Wallet.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Open a new terminal in your `petition-contract` directory and complete the follo
23
23
- You will be prompted to enter the password you set in the previous step. Enter it and press the Enter/return button. Make sure to save your Wallet mnemonic phrase
24
24
- You will get your fuel address. Save it as you'll need it to sign transactions to deploy the contract.
3. You can view your list of accounts using the command below:
@@ -38,21 +38,21 @@ Open a new terminal in your `petition-contract` directory and complete the follo
38
38
- Go to [Fuel Wallet Chrome Extension](https://chromewebstore.google.com/detail/fuel-wallet/dldjpboieedgcmpkchcjcbijingjcgok) and click on “Add to Chrome” button.
39
39
- After Installing Fuel Wallet, you will see a popup tab where you need to click on “Import seed phrase” button.
- Now finally set a password for your wallet, make sure it is a strong password, or else you won’t be allowed to move forward and please make a note of your password because trust me you need this whenever you are going to sign a transaction. Click on “Next: Finish set up” button to move forward.
0 commit comments