diff options
-rw-r--r-- | cairo.html.markdown | 10 | ||||
-rw-r--r-- | images/cairo/build.png | bin | 0 -> 292865 bytes | |||
-rw-r--r-- | images/cairo/connect.png | bin | 0 -> 62073 bytes | |||
-rw-r--r-- | images/cairo/connect2.png | bin | 0 -> 66962 bytes | |||
-rw-r--r-- | images/cairo/declare.png | bin | 0 -> 768881 bytes | |||
-rw-r--r-- | images/cairo/deploy.png | bin | 0 -> 812958 bytes |
6 files changed, 5 insertions, 5 deletions
diff --git a/cairo.html.markdown b/cairo.html.markdown index 18ac81af..95008a78 100644 --- a/cairo.html.markdown +++ b/cairo.html.markdown @@ -72,7 +72,7 @@ protostar build And you should get an output similar to what you see below, with a `main.json` and `main_abi.json` files created in the `build` folder. -<img src="./cairo_assets/build.png" alt="building your contract"> +<img src="./images/cairo/build.png" alt="building your contract"> ### Declaring Contracts @@ -103,7 +103,7 @@ where `network` specifies the network we are deploying to, `account` specifies account whose private key we are using, `max-fee` specifies the maximum fee to be paid for the transaction. You should get the class hash outputted as seen below: -<img src="./cairo_assets/declare.png" alt="declaring your contract"> +<img src="./images/cairo/declare.png" alt="declaring your contract"> ### Deploying Contracts @@ -120,7 +120,7 @@ protostar \ where `0x02a5de1b145e18dfeb31c7cd7ff403714ededf5f3fdf75f8b0ac96f2017541bc` is the class hash of our contract. -<img src="./cairo_assets/deploy.png" alt="deploying your contract"> +<img src="./images/cairo/deploy.png" alt="deploying your contract"> ### Interacting with Contracts @@ -135,9 +135,9 @@ contract. Once found, you can make write calls to the contract in the following sequence: + click on the "connect wallet" button, - <img src="./cairo_assets/connect.png" alt="connect wallet"> + <img src="./images/cairo/connect.png" alt="connect wallet"> + select `Argent X` and approve the connection - <img src="./cairo_assets/connect2.png" alt="connect to argentX"> + <img src="./images/cairo/connect2.png" alt="connect to argentX"> + you can now make read and write calls easily. ## Let's learn Cairo diff --git a/images/cairo/build.png b/images/cairo/build.png Binary files differnew file mode 100644 index 00000000..ebb7d8dc --- /dev/null +++ b/images/cairo/build.png diff --git a/images/cairo/connect.png b/images/cairo/connect.png Binary files differnew file mode 100644 index 00000000..86146353 --- /dev/null +++ b/images/cairo/connect.png diff --git a/images/cairo/connect2.png b/images/cairo/connect2.png Binary files differnew file mode 100644 index 00000000..08b00a81 --- /dev/null +++ b/images/cairo/connect2.png diff --git a/images/cairo/declare.png b/images/cairo/declare.png Binary files differnew file mode 100644 index 00000000..174aea34 --- /dev/null +++ b/images/cairo/declare.png diff --git a/images/cairo/deploy.png b/images/cairo/deploy.png Binary files differnew file mode 100644 index 00000000..f637b706 --- /dev/null +++ b/images/cairo/deploy.png |