diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-1_Course Introduction.md b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-1_Course Introduction.md similarity index 92% rename from docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-1_Course Introduction.md rename to docs/TheGraph-ScaffoldEth2/en/section-0/lesson-1_Course Introduction.md index 3082e207..3413129c 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-1_Course Introduction.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-1_Course Introduction.md @@ -19,13 +19,13 @@ This workshop is built around Scaffold-ETH 2 and The Graph. You will learn how t - ๐ฅ **Burner Wallet & Local Faucet**: Quickly test your application with a burner wallet and local faucet. - ๐ **Integration with Wallet Providers**: Connect to different wallet providers and interact with the Ethereum network. -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_1_1.png) -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_1_2.png) -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/L0_1_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/L0_1_3.png) -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_4.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_1_4.png) To learn more about Scaffold-ETH checkout the [Github repository](https://github.com/scaffold-eth/scaffold-eth-2) or [Scaffoldeth.io](https://scaffoldeth.io). @@ -75,4 +75,5 @@ Creating `pull request` and `issues` is an important task when actually developi Let's make the UNCHAIN project better together โจ. ### ๐โโ๏ธ Asking Questions -If you have any questions or uncertainties up to this point, please ask in the `#thegraph` channel on Discord. \ No newline at end of file + +If you have any questions or uncertainties up to this point, please ask in the `#thegraph` channel on Discord. diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-2_Requirements.md b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-2_Requirements.md similarity index 100% rename from docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-2_Requirements.md rename to docs/TheGraph-ScaffoldEth2/en/section-0/lesson-2_Requirements.md diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-3_Setup Scaffold-ETH 2.md b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-3_Setup Scaffold-ETH 2.md similarity index 82% rename from docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-3_Setup Scaffold-ETH 2.md rename to docs/TheGraph-ScaffoldEth2/en/section-0/lesson-3_Setup Scaffold-ETH 2.md index 498cc9f9..b01e7218 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-3_Setup Scaffold-ETH 2.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-3_Setup Scaffold-ETH 2.md @@ -6,7 +6,7 @@ First, we will start out with a special build of Scaffold-ETH 2 written by Simon We will need a total of four different windows to setup Scaffold-ETH 2 and The Graph. -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_1.png) ``` git clone -b subgraph-package \ @@ -21,7 +21,7 @@ cd scaffold-eth-2-subgraph-package && \ yarn install ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_2.png) Next, we will want to start up our local blockchain so that we can eventually deploy and test our smart contracts. Scaffold-ETH 2 comes with Hardhat by default. To spin up the chain just type the following yarn commandโฆ @@ -29,7 +29,7 @@ Next, we will want to start up our local blockchain so that we can eventually de yarn chain ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_3.png) > You will keep this window up and available so that you can see any output from hardhat console. ๐ฅ๏ธ @@ -39,7 +39,7 @@ Next we are going to spin up our frontend application. Scaffold-ETH 2 comes with yarn start ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_4.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_4.png) > You will also want to keep this window up at all times so that you can debug any code changes you make to NextJS, debug performance or just check that the server is running properly. @@ -49,7 +49,7 @@ Next, you will want to open up a third window where you can deploy your smart co yarn deploy ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_5.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_5.png) > You should get a tx along with an address and amount of gas spent on the deploy. โฝ @@ -59,6 +59,6 @@ You can test by sending an update to the setGreeting function. In order to do th Then you can simply navigate to "Debug Contracts", click the string field under setGreeting and type something fun and then click "SEND" -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_6.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_6.png) -After this is complete you should also get a transaction receipt that you can expand below to verify it was successful. \ No newline at end of file +After this is complete you should also get a transaction receipt that you can expand below to verify it was successful. diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-4_Setup The Graph.md b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-4_Setup The Graph.md similarity index 85% rename from docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-4_Setup The Graph.md rename to docs/TheGraph-ScaffoldEth2/en/section-0/lesson-4_Setup The Graph.md index abadd74d..8d32bfe5 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-4_Setup The Graph.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-4_Setup The Graph.md @@ -16,8 +16,8 @@ yarn clean-node yarn run-node ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_4_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_4_1.png) This will spin up all the containers for The Graph using docker-compose. You will know this is complete when it reads "Downloading latest blocks from Ethereum..." -> As stated before, be sure to keep this window open so that you can see any log output from Docker. ๐ \ No newline at end of file +> As stated before, be sure to keep this window open so that you can see any log output from Docker. ๐ diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-5_Deploy to localhost.md b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-5_Deploy to localhost.md similarity index 86% rename from docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-5_Deploy to localhost.md rename to docs/TheGraph-ScaffoldEth2/en/section-0/lesson-5_Deploy to localhost.md index 0dc00d99..78e34d72 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-5_Deploy to localhost.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-5_Deploy to localhost.md @@ -10,7 +10,7 @@ Now we can open up a fourth window to finish setting up The Graph. ๐ In this yarn local-create ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_5_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_5_1.png) > You should see some output stating your Subgraph has been created along with a log output on your graph-node inside docker. @@ -20,7 +20,7 @@ Next we will ship our subgraph! You will need to give your subgraph a version af yarn local-ship ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_5_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_5_2.png) > This command does the following all in oneโฆ ๐๐๐ @@ -38,7 +38,7 @@ npm install -g ts-node If your subgraph deployment was successful it will look something like this: -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_5_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_5_3.png) You should get a build completed output along with the address of your Subgraph endpoint. @@ -49,4 +49,4 @@ Deployed to http://localhost:8000/subgraphs/name/scaffold-eth/your-contract/grap Subgraph endpoints: Queries (HTTP): http://localhost:8000/subgraphs/name/scaffold-eth/your-contract -``` \ No newline at end of file +``` diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-6_Test.md b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-6_Test.md similarity index 71% rename from docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-6_Test.md rename to docs/TheGraph-ScaffoldEth2/en/section-0/lesson-6_Test.md index 695416e7..aeec06e3 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-0/lesson-6_Test.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-0/lesson-6_Test.md @@ -22,8 +22,8 @@ Go ahead and head over to your subgraph endpoint and take a look! } ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_6_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_6_1.png) > If all is well and youโve sent a transaction to your smart contract then you will see a similar data output! -Next up we will dive into a bit more detail on how The Graph works so that as you start adding events to your smart contract you can start indexing and parsing the data you need for your front end application. \ No newline at end of file +Next up we will dive into a bit more detail on how The Graph works. As you start adding events to your smart contract, you can start indexing and parsing the data you need for your front end application. diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-1_Adding an event.md b/docs/TheGraph-ScaffoldEth2/en/section-1/lesson-1_Adding an event.md similarity index 83% rename from docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-1_Adding an event.md rename to docs/TheGraph-ScaffoldEth2/en/section-1/lesson-1_Adding an event.md index 5a356063..0200d837 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-1_Adding an event.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-1/lesson-1_Adding an event.md @@ -20,7 +20,7 @@ Add the following new line of code. You can drop this event and function anywhere inside the contract, but best practice is to drop it below any modifiers or the constructor. -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_1_1.png) We can save our contract and then deploy those new changes. @@ -32,10 +32,10 @@ yarn deploy --reset You should see the following output: -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_1_2.png) #### โ Test your new function Navigate over to http://localhost:3000/debug and send vitalik.eth a message. -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_1_3.png) diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-2_Updating your subgraph.md b/docs/TheGraph-ScaffoldEth2/en/section-1/lesson-2_Updating your subgraph.md similarity index 91% rename from docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-2_Updating your subgraph.md rename to docs/TheGraph-ScaffoldEth2/en/section-1/lesson-2_Updating your subgraph.md index 700ca9c1..337ad70f 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-2_Updating your subgraph.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-1/lesson-2_Updating your subgraph.md @@ -32,7 +32,7 @@ type SendMessage @entity(immutable: true) { ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_2_1.png) #### โ Update the Subgraph manifest @@ -54,7 +54,7 @@ entities: handler: handleSendMessage ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_2_2.png) If you are following along, next you will need to copy over your new abi and regenerate the code. @@ -62,7 +62,7 @@ If you are following along, next you will need to copy over your new abi and reg yarn abi-copy && yarn codegen ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_2_3.png) #### โ Update the mapping script @@ -122,8 +122,6 @@ export function handleSendMessage(event: SendMessageEvent): void { Your changes should be accepted inside of your editor without any linting errors. -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_4.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_2_4.png) After that is done, you are almost doneโฆ time to ship it! - - diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-3_Deploy.md b/docs/TheGraph-ScaffoldEth2/en/section-1/lesson-3_Deploy.md similarity index 77% rename from docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-3_Deploy.md rename to docs/TheGraph-ScaffoldEth2/en/section-1/lesson-3_Deploy.md index 292e6a38..55870199 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-3_Deploy.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-1/lesson-3_Deploy.md @@ -6,8 +6,8 @@ yarn local-ship ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_3_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_3_1.png) Be sure to add a new version number to your subgraph when it prompts you. This should be higher then the previous version. -Next we will test out the subgraph and make sure it is indexing correctly. \ No newline at end of file +Next we will test out the subgraph and make sure it is indexing correctly. diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-4_Test.md b/docs/TheGraph-ScaffoldEth2/en/section-1/lesson-4_Test.md similarity index 83% rename from docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-4_Test.md rename to docs/TheGraph-ScaffoldEth2/en/section-1/lesson-4_Test.md index e8c92fb3..860969f1 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-1/lesson-4_Test.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-1/lesson-4_Test.md @@ -16,6 +16,6 @@ Next, lets see if our data is in The Graph. Here is an example query that shows You should get a nice response like this: -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_4_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_4_1.png) Data is such a beautiful thing huh? diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-1_Install Metamask.md b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-1_Install Metamask.md similarity index 100% rename from docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-1_Install Metamask.md rename to docs/TheGraph-ScaffoldEth2/en/section-2/lesson-1_Install Metamask.md diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-2_Deployer account creation.md b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-2_Deployer account creation.md similarity index 78% rename from docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-2_Deployer account creation.md rename to docs/TheGraph-ScaffoldEth2/en/section-2/lesson-2_Deployer account creation.md index 9663719c..15a0b459 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-2_Deployer account creation.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-2_Deployer account creation.md @@ -4,8 +4,7 @@ Next we want to take our smart contract and deploy it to a testnet! At the time this workshop was written, The Graph supports many testnets but for this example we will use sepolia. -If you need some testnet funds you can try the following faucets: -- +## If you need some testnet funds you can try the following faucets: #### โ Create a deployer account @@ -13,9 +12,10 @@ If you need some testnet funds you can try the following faucets: yarn run generate ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_2_1.png) You should see the following saved to your hardhats environment variable file + ``` ๐ Generating new Wallet ๐ Private Key saved to packages/hardhat/.env file @@ -27,30 +27,30 @@ You should see the following saved to your hardhats environment variable file yarn account ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_2_2.png) This should display your public address along with a fancy QR code. And balances?!? Woooowwwww that is slick! <3 ``` - โโโโโโโ โ โ โโโโโโโ โโโโโโโ - โ โโโ โ โโโโ โโโโ โโโ โ โโโ โ - โ โโโ โ โโโโโโโ โ โโโ โ โโโ โ - โโโโโโโ โโโโโโโโโ โ โ โโโโโโโ - โ โโโโโโโโโโโโโโ โโโโ โ โโโ - โโโโ โโโโโโโโโโโโโโโโโโโโโโโ - โโโ โโโโโโ โโโโโโโโ โโโโ โโ - โโโโโโโ โโ โ โ โโ โโโโโโโโ - โโโโโ โโโ โ โ โโโโโ โโโโโโโโ - โโ โโ โโโโโโโโ โโโโโโ โโโโโโโ - โโโโโโโ โ โโโโ โโโโโโโโโโโโ - โโโโโโโ โโ โโ โโโ โ โ โ โ โโ - โ โโโ โ โ โโโโโโโโโ โโโโโโโโ - โ โโโ โ โโโโ โโโ โโโโ โโโโโโโ - โโโโโโโ โโ โโ โโโโ โโ โโโโ โ + โโโโโโโ โ โ โโโโโโโ โโโโโโโ + โ โโโ โ โโโโ โโโโ โโโ โ โโโ โ + โ โโโ โ โโโโโโโ โ โโโ โ โโโ โ + โโโโโโโ โโโโโโโโโ โ โ โโโโโโโ + โ โโโโโโโโโโโโโโ โโโโ โ โโโ + โโโโ โโโโโโโโโโโโโโโโโโโโโโโ + โโโ โโโโโโ โโโโโโโโ โโโโ โโ + โโโโโโโ โโ โ โ โโ โโโโโโโโ + โโโโโ โโโ โ โ โโโโโ โโโโโโโโ + โโ โโ โโโโโโโโ โโโโโโ โโโโโโโ + โโโโโโโ โ โโโโ โโโโโโโโโโโโ + โโโโโโโ โโ โโ โโโ โ โ โ โ โโ + โ โโโ โ โ โโโโโโโโโ โโโโโโโโ + โ โโโ โ โโโโ โโโ โโโโ โโโโโโโ + โโโโโโโ โโ โโ โโโโ โโ โโโโ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ -Public address: 0x87f00B2c39F97CD00BC6d09777BC4327aCA39180 +Public address: 0x87f00B2c39F97CD00BC6d09777BC4327aCA39180 -- localhost -- ๐ก balance: 0 @@ -60,4 +60,4 @@ Public address: 0x87f00B2c39F97CD00BC6d09777BC4327aCA39180 Send over some testnet ETH from the chain of your choice. I would suggest sepolia as its fairly easy to get some testnet ETH from various sources. In the output below you can see I now have a sepolia balance. -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_3.png) \ No newline at end of file +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_2_3.png) diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-3_Deploy and verify.md b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-3_Deploy and verify.md similarity index 69% rename from docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-3_Deploy and verify.md rename to docs/TheGraph-ScaffoldEth2/en/section-2/lesson-3_Deploy and verify.md index 3955b4ad..efbd4412 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-3_Deploy and verify.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-3_Deploy and verify.md @@ -8,7 +8,7 @@ Now we can deploy to our testnet of choice... in this example we will deploy to yarn deploy --network sepolia ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_3_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_3_1.png) If all is well you should see the following success output. @@ -23,7 +23,7 @@ deploying "YourContract" (tx: 0xf404021d736271a7a0a84d124ed35250c533efe37c177536 yarn verify --network sepolia ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_3_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_3_2.png) You should see the following successful output... @@ -33,5 +33,4 @@ waiting for result... => contract YourContract is now verified ``` - You can also check your contract was successfully on etherscan. [Here](https://sepolia.etherscan.io/address/0x541D469C06990B7F0bd5103b57997cE8a39C050c#code) is the one I deployed and verified. - +You can also check your contract was successfully on etherscan. [Here](https://sepolia.etherscan.io/address/0x541D469C06990B7F0bd5103b57997cE8a39C050c#code) is the one I deployed and verified. diff --git a/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-4_Subgraph Studio.md b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-4_Subgraph Studio.md new file mode 100644 index 00000000..fd1cb4ce --- /dev/null +++ b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-4_Subgraph Studio.md @@ -0,0 +1,25 @@ +## Subgraph studio + +### Migrating you Subgraph to the Studio + +Now that our smart contract is on a public testnet it is time to push our Subgraph to the Studio. + +#### โ Navigate to https://thegraph.com/studio + +![Studio1](/public/images/TheGraph-ScaffoldEth2/section-2/2_4_1.png) + +#### โ Connect your wallet + +![Studio2](/public/images/TheGraph-ScaffoldEth2/section-2/2_4_2.png) + +You might need to sign a request to verify that you own the connected wallet. + +![Studio3](/public/images/TheGraph-ScaffoldEth2/section-2/2_4_3.png) + +#### โ Click Create a Subgraph + +![Studio4](/public/images/TheGraph-ScaffoldEth2/section-2/2_4_4.png) + +#### โ Name your Subgraph + +![Studio5](/public/images/TheGraph-ScaffoldEth2/section-2/2_4_5.png) diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-5_Graph CLI.md b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-5_Graph CLI.md similarity index 79% rename from docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-5_Graph CLI.md rename to docs/TheGraph-ScaffoldEth2/en/section-2/lesson-5_Graph CLI.md index 590258d8..aa80f0ab 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-5_Graph CLI.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-5_Graph CLI.md @@ -1,10 +1,10 @@ ## Graph CLI -### โ Deploy your subgraph using the CLI +### โ Deploy your subgraph using the CLI #### โ Use the Graph CLI to complete the deployment -![Studio6](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_1.png) +![Studio6](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_1.png) You can install the Graph CLI globally using the following command. @@ -12,9 +12,9 @@ You can install the Graph CLI globally using the following command. yarn global add @graphprotocol/graph-cli ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_2.png) -#### โ Init your Subgraph +#### โ Init your Subgraph This can be done in a separate folder of your choosing, since it will initiate a yarn package. You will need to fill in the required configuration during the initialization process.The Start Block - Can be found on Etherescan if needed so you don't have to index the entire previous blocks. @@ -24,7 +24,7 @@ graph init --studio name_of_your_subgraph It should looks something like this... -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_3.png) #### โ Authenticate to Studio @@ -51,7 +51,7 @@ graph codegen && graph build Success will look something like the following! -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_4.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_4.png) #### โ Deploy @@ -63,11 +63,11 @@ graph deploy --studio name_of_your_subgraph Choose a version and fire away! -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_5.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_5.png) It might take up to 5 minutes for you subgraph to deploy to the studio. Once it has been deployed, you can check that is fully syncing and has no errors. A successful deploy will look like the following. -![Studio7](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_6.png) +![Studio7](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_6.png) #### โ Send a transaction and verify in Subgraph Playground @@ -102,4 +102,3 @@ Our data object response: } } ``` - diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-6_Frontend.md b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-6_Frontend.md similarity index 76% rename from docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-6_Frontend.md rename to docs/TheGraph-ScaffoldEth2/en/section-2/lesson-6_Frontend.md index c560c6c1..313f88d6 100644 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-6_Frontend.md +++ b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-6_Frontend.md @@ -16,45 +16,45 @@ Update the configuration to point to the testnet that you deployed to in previou It should look like this when changed: -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_1.png) Once you change this you can go back to scaffold-ETH and refresh the UI. You will get kicked from your burner wallet, you will want to connect to the testnet work using your metamask wallet. Click "CONNECT WALLET"... -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_2.png) Choose Metamask... -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_3.png) Switch the network... -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_4.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_4.png) -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_5.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_5.png) Once complete you should now be connected to your dapp on sepolia network. -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_6.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_6.png) #### โ Fire off a test message to someone you know! ๏ผor Vitalik heh๏ผ We now want to send an event on the testnet that we have deployed our smart contract. We can do that fairly easily now that our frontend is properly configured. -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_7.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_7.png) -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_8.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_8.png) Then check to see if the message was indexed successfully in the studio. You can find the GraphiQL explorer on the "Playground" page. -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_9.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_9.png) #### โ Update our GraphQL URL to point to our development endpoint The development endpoint for your subgraph can be found on the details tab in Subgraph Studio. -> Edit _app.tsx located in packages/nextjs/pages +> Edit \_app.tsx located in packages/nextjs/pages ``` const subgraphUri = "https://api.studio.thegraph.com/query/51078/sendmessage-test/version/latest"; @@ -64,9 +64,9 @@ The development endpoint for your subgraph can be found on the details tab in Su }); ``` -The change will look something like this: +The change will look something like this: -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_10.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_10.png) #### โ Start with a clean slate in your index.ts file @@ -96,9 +96,9 @@ export default Home; After your change the home directory will look something like this: -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_11.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_11.png) -#### โ Display our messages in a table format +#### โ Display our messages in a table format Lastly a table to display our messages. @@ -144,10 +144,10 @@ And then load the data like so... ``` const { loading, error, data: messagesData } = useQuery(GET_MESSAGES); - const messages = messagesData?.sendMessages || []; + const messages = messagesData?.sendMessages || []; ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_13.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_13.png) We can then make this a bit prettier and use the `
` component instead of just plain text. @@ -161,6 +161,6 @@ We can then make this a bit prettier and use the `` component instead o This will look a lot nicer than those long strings! :D -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_14.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_14.png) > Note: If you want to see the full complete file you can do so [here](https://gist.github.com/kmjones1979/26ef9633b61b17f237e88eb41bb688de)! diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-7_Ship your frontend.md b/docs/TheGraph-ScaffoldEth2/en/section-2/lesson-7_Ship your frontend.md similarity index 100% rename from docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-7_Ship your frontend.md rename to docs/TheGraph-ScaffoldEth2/en/section-2/lesson-7_Ship your frontend.md diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-1_\343\202\263\343\203\274\343\202\271\343\201\256\347\264\271\344\273\213.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-1_\343\202\263\343\203\274\343\202\271\343\201\256\347\264\271\344\273\213.md" similarity index 91% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-1_\343\202\263\343\203\274\343\202\271\343\201\256\347\264\271\344\273\213.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-1_\343\202\263\343\203\274\343\202\271\343\201\256\347\264\271\344\273\213.md" index f5277e14..68460dca 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-1_\343\202\263\343\203\274\343\202\271\343\201\256\347\264\271\344\273\213.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-1_\343\202\263\343\203\274\343\202\271\343\201\256\347\264\271\344\273\213.md" @@ -19,17 +19,17 @@ - ๐ฅ **ใใผใใผใฆใฉใฌใใ๏ผใญใผใซใซใใฉใผใปใใ**: ใใผใใผใฆใฉใฌใใใจใญใผใซใซใใฉใผใปใใใไฝฟ็จใใฆใใขใใชใฑใผใทใงใณใ็ด ๆฉใใในใใใพใใ - ๐ **ใฆใฉใฌใใใใญใใคใใผใจใฎ็ตฑๅ**: ็ฐใชใใฆใฉใฌใใใใญใใคใใผใซๆฅ็ถใใEthereumใใใใฏใผใฏใจใใๅใใใพใใ -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_1_1.png) -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_1_2.png) -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/L0_1_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/L0_1_3.png) -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_4.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_1_4.png) -Scaffold-ETHใซใคใใฆใใฃใจ็ฅใใใๅ ดๅใฏใ[Githubใชใใธใใช](https://github.com/scaffold-eth/scaffold-eth-2) ใ [Scaffoldeth.io](https://scaffoldeth.io) ใใ่ฆงใใ ใใใ +Scaffold-ETHใซใคใใฆใใฃใจ็ฅใใใๅ ดๅใฏใ[Github ใชใใธใใช](https://github.com/scaffold-eth/scaffold-eth-2) ใ [Scaffoldeth.io](https://scaffoldeth.io) ใใ่ฆงใใ ใใใ -### ๐ง๐ผโ๐ The Graphใจใฏ๏ผ +### ๐ง๐ผโ๐ The Graph ใจใฏ๏ผ [The Graph](https://thegraph.com/) ใฏใGraphQLใไฝฟ็จใใฆEthereumใจIPFSไธใงdAppใ็ด ๆฉใๆง็ฏใใใใใฎใใญใใณใซใงใใ @@ -44,8 +44,11 @@ Scaffold-ETHใซใคใใฆใใฃใจ็ฅใใใๅ ดๅใฏใ[Githubใชใใธใใช] ใคใใณใใใผใฟใฎใใผใฟในใใฌใผใธใซThe Graphใใญใใณใซใๅฉ็จใใในใใผใใณใณใใฉใฏใใจใใญใณใใจใณใใๆง็ฏใใพใใ + ๏ผใใใซใชใณใฉใคใณใงใใใญใคใใใใตใณใใซdappใธใฎใชใณใฏใ่ฟฝๅ ใใพใ๏ผ + + ๏ผใใใซใตใณใใซdappใ็คบใในใฏใชใผใณใทใงใใใ่ฟฝๅ ใใพใ๏ผ ### ๐ ใใญใธใงใฏใใใขใใใฐใฌใผใใใ @@ -76,4 +79,5 @@ GitHubใใ็ดๆฅใณใผใใ็ทจ้ใใฆ็ดๆฅ`pull request`ใ้ใๆนๆณใฏ UNCHAINใฎใใญใธใงใฏใใใฟใใชใงใใ่ฏใใใฎใซใใฆใใใพใใใ โจ ### ๐โโ๏ธ ่ณชๅใใ -ใใใพใงไฝใใใใใชใใใจใใใๅ ดๅใฏใDiscordใฎ`#thegraph`ใง่ณชๅใใใฆใใ ใใใ \ No newline at end of file + +ใใใพใงไฝใใใใใชใใใจใใใๅ ดๅใฏใDiscordใฎ`#thegraph`ใง่ณชๅใใใฆใใ ใใใ diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-2_\345\277\205\350\246\201\346\235\241\344\273\266.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-2_\345\277\205\350\246\201\346\235\241\344\273\266.md" similarity index 100% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-2_\345\277\205\350\246\201\346\235\241\344\273\266.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-2_\345\277\205\350\246\201\346\235\241\344\273\266.md" diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-3_Scaffold-ETH 2\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-3_Scaffold-ETH 2\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" similarity index 77% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-3_Scaffold-ETH 2\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-3_Scaffold-ETH 2\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" index a2a9f424..f8f30ed6 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-3_Scaffold-ETH 2\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-3_Scaffold-ETH 2\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" @@ -6,7 +6,7 @@ Scaffold-ETH 2ใจThe Graphใใปใใใขใใใใใใใซใๅ่จ4ใคใฎ็ฐใชใใฆใฃใณใใฆใๅฟ ่ฆใซใชใใพใใ -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_1.png) ``` git clone -b subgraph-package \ @@ -21,7 +21,7 @@ cd scaffold-eth-2-subgraph-package && \ yarn install ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_2.png) ๆฌกใซใในใใผใใณใณใใฉใฏใใใใใญใคใใฆใในใใใใใใซใใญใผใซใซใใญใใฏใใงใผใณใ่ตทๅใใๅฟ ่ฆใใใใพใใScaffold-ETH 2ใฏใใใฉใซใใงHardhatใไฝฟ็จใใฆใใพใใใใงใผใณใ่ตทๅใใใซใฏใๆฌกใฎyarnใณใใณใใๅ ฅๅใใพใใ @@ -29,9 +29,9 @@ cd scaffold-eth-2-subgraph-package && \ yarn chain ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_3.png) -> ใใฎใฆใฃใณใใฆใ้ใใใพใพใซใใฆใใใจใhardhatใณใณใฝใผใซใใใฎๅบๅใ็ขบ่ชใงใใพใใ๐ฅ๏ธ +> ใใฎใฆใฃใณใใฆใ้ใใใพใพใซใใฆใใใจใhardhat ใณใณใฝใผใซใใใฎๅบๅใ็ขบ่ชใงใใพใใ๐ฅ๏ธ ๆฌกใซใใใญใณใใจใณใใขใใชใฑใผใทใงใณใ่ตทๅใใพใใScaffold-ETH 2ใฏใใใฉใซใใงNextJSใไฝฟ็จใใฆใใใๅ็ดใชyarnใณใใณใใง่ตทๅใใใใจใใงใใพใใๆฐใใใณใใณใใฉใคใณใ้ใใๆฌกใฎใณใใณใใๅ ฅๅใใพใใ @@ -39,9 +39,9 @@ yarn chain yarn start ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_4.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_4.png) -> ใใฎใฆใฃใณใใฆใๅธธใซ้ใใฆใใใจใNextJSใซๅ ใใใณใผใๅคๆดใฎใใใใฐใใใใฉใผใใณในใฎใใงใใฏใใพใใฏใตใผใใผใ้ฉๅใซๅไฝใใฆใใใใ็ขบ่ชใงใใพใใ +> ใใฎใฆใฃใณใใฆใๅธธใซ้ใใฆใใใจใNextJS ใซๅ ใใใณใผใๅคๆดใฎใใใใฐใใใใฉใผใใณในใฎใใงใใฏใใพใใฏใตใผใใผใ้ฉๅใซๅไฝใใฆใใใใ็ขบ่ชใงใใพใใ ๆฌกใซใในใใผใใณใณใใฉใฏใใใใใญใคใใใใใฎ็ฌฌไธใฎใฆใฃใณใใฆใ้ใใพใใScaffold-ETHใซใฏไปใซใไพฟๅฉใชใณใใณใใใใใพใใใใใญใคใ่กใใซใฏใๅใซไปฅไธใๅฎ่กใใพใโฆ @@ -49,16 +49,16 @@ yarn start yarn deploy ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_5.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_5.png) > ใใใญใคใซใใใฃใใฌในใฎ้ใจๅ ฑใซใใใฉใณใถใฏใทใงใณใจใขใใฌในใ่กจ็คบใใใใฏใใงใใโฝ -http://localhost:3000 ใซใขใฏใปในใใใจใNextJSใขใใชใฑใผใทใงใณใ่กจ็คบใใใพใใScaffold-ETH 2ใฎใกใใฅใผใๆฉ่ฝใๆข็ดขใใฆใฟใพใใใ๏ผ ็ทๆฅไบๆ ใงใใญใใใใฏใใใ๏ผ๐ฅ +http://localhost:3000 ใซใขใฏใปในใใใจใNextJSใขใใชใฑใผใทใงใณใ่กจ็คบใใใพใใScaffold-ETH 2ใฎใกใใฅใผใๆฉ่ฝใๆข็ดขใใฆใฟใพใใใ๏ผ ็ทๆฅไบๆ ใงใใญใใใใฏใใใ๏ผ ๐ฅ setGreeting้ขๆฐใซใขใใใใผใใ้ไฟกใใฆใในใใใใใจใใงใใพใใใใใ่กใใซใฏใๅณไธใฎใใผใใผใฆใฉใฌใใใขใใฌในใฎ้ฃใซใใ็พ้ใขใคใณใณใใฏใชใใฏใใฆใฌในใๅ ฅๆใใๅฟ ่ฆใใใใพใใใใใซใใใ่ๅฃใใ1 ETHใ้ใใใพใใ ๆฌกใซใใDebug Contractsใใซ็งปๅใใsetGreetingใฎไธใฎๆๅญๅใใฃใผใซใใใฏใชใใฏใใฆไฝใๆฅฝใใใใจใๅ ฅๅใใใSENDใใใฏใชใใฏใใพใใ -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_6.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_3_6.png) -ใใใๅฎไบใใใจใๆๅใใใใจใ็ขบ่ชใใใใใซๆกๅผตใงใใใใฉใณใถใฏใทใงใณใฌใทใผใใๅพใใใใฏใใงใใ \ No newline at end of file +ใใใๅฎไบใใใจใๆๅใใใใจใ็ขบ่ชใใใใใซๆกๅผตใงใใใใฉใณใถใฏใทใงใณใฌใทใผใใๅพใใใใฏใใงใใ diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-4_The Graph\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-4_The Graph\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" similarity index 79% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-4_The Graph\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-4_The Graph\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" index 9c80bbcb..17eb2706 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-4_The Graph\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-4_The Graph\343\201\256\343\202\273\343\203\203\343\203\210\343\202\242\343\203\203\343\203\227.md" @@ -16,8 +16,8 @@ yarn clean-node yarn run-node ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_4_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_4_1.png) ใใใซใใใdocker-composeใไฝฟ็จใใฆThe Graphใฎใในใฆใฎใณใณใใใ่ตทๅใใพใใ"Downloading latest blocks from Ethereum..."ใจ่กจ็คบใใใใใๅฎไบใงใใ -> ๅ่ฟฐใฎ้ใใDockerใใใฎใญใฐๅบๅใ็ขบ่ชใใใใใซใใฎใฆใฃใณใใฆใ้ใใใพใพใซใใฆใใใฆใใ ใใใ๐ \ No newline at end of file +> ๅ่ฟฐใฎ้ใใDocker ใใใฎใญใฐๅบๅใ็ขบ่ชใใใใใซใใฎใฆใฃใณใใฆใ้ใใใพใพใซใใฆใใใฆใใ ใใใ๐ diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-5_\343\203\255\343\203\274\343\202\253\343\203\253\343\203\233\343\202\271\343\203\210\343\201\253\343\203\207\343\203\227\343\203\255\343\202\244\343\201\231\343\202\213.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-5_\343\203\255\343\203\274\343\202\253\343\203\253\343\203\233\343\202\271\343\203\210\343\201\253\343\203\207\343\203\227\343\203\255\343\202\244\343\201\231\343\202\213.md" similarity index 79% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-5_\343\203\255\343\203\274\343\202\253\343\203\253\343\203\233\343\202\271\343\203\210\343\201\253\343\203\207\343\203\227\343\203\255\343\202\244\343\201\231\343\202\213.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-5_\343\203\255\343\203\274\343\202\253\343\203\253\343\203\233\343\202\271\343\203\210\343\201\253\343\203\207\343\203\227\343\203\255\343\202\244\343\201\231\343\202\213.md" index 0c42836e..d978d396 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-5_\343\203\255\343\203\274\343\202\253\343\203\253\343\203\233\343\202\271\343\203\210\343\201\253\343\203\207\343\203\227\343\203\255\343\202\244\343\201\231\343\202\213.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-5_\343\203\255\343\203\274\343\202\253\343\203\253\343\203\233\343\202\271\343\203\210\343\201\253\343\203\207\343\203\227\343\203\255\343\202\244\343\201\231\343\202\213.md" @@ -16,8 +16,8 @@ yarn clean-node yarn run-node ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_4_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_4_1.png) ใใใซใใใdocker-composeใไฝฟ็จใใฆThe Graphใฎใในใฆใฎใณใณใใใ่ตทๅใใพใใใDownloading latest blocks from Ethereum...ใใจ่กจ็คบใใใใใๅฎไบใงใใ -> ๅ่ฟฐใฎใใใซใDockerใใใฎใญใฐๅบๅใ็ขบ่ชใใใใใซใใใฎใฆใฃใณใใฆใ้ใใใพใพใซใใฆใใใฆใใ ใใใ ๐ \ No newline at end of file +> ๅ่ฟฐใฎใใใซใDocker ใใใฎใญใฐๅบๅใ็ขบ่ชใใใใใซใใใฎใฆใฃใณใใฆใ้ใใใพใพใซใใฆใใใฆใใ ใใใ ๐ diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-6_\343\203\206\343\202\271\343\203\210.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-6_\343\203\206\343\202\271\343\203\210.md" similarity index 86% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-6_\343\203\206\343\202\271\343\203\210.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-6_\343\203\206\343\202\271\343\203\210.md" index 3b86a8db..573a1895 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-0/lesson-6_\343\203\206\343\202\271\343\203\210.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-0/lesson-6_\343\203\206\343\202\271\343\203\210.md" @@ -22,8 +22,8 @@ } ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-0/0_6_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-0/0_6_1.png) > ใในใฆใใใพใใใฃใฆใใฆใในใใผใใณใณใใฉใฏใใซใใฉใณใถใฏใทใงใณใ้ไฟกใใๅ ดๅใฏใๅๆงใฎใใผใฟๅบๅใ่กจ็คบใใใใฏใใงใ๏ผ -ๆฌกใซใThe Graphใใฉใฎใใใซๆฉ่ฝใใใใใใๅฐใ่ฉณใใ่ชฌๆใใพใใใใใซใใใในใใผใใณใณใใฉใฏใใซใคใใณใใ่ฟฝๅ ใใ้ใซใใใญใณใใจใณใใขใใชใฑใผใทใงใณใซๅฟ ่ฆใชใใผใฟใฎใคใณใใใฏในไฝๆใ่งฃๆใใงใใใใใซใชใใพใใ \ No newline at end of file +ๆฌกใซใThe Graphใใฉใฎใใใซๆฉ่ฝใใใใใใๅฐใ่ฉณใใ่ชฌๆใใพใใใใใซใใใในใใผใใณใณใใฉใฏใใซใคใใณใใ่ฟฝๅ ใใ้ใซใใใญใณใใจใณใใขใใชใฑใผใทใงใณใซๅฟ ่ฆใชใใผใฟใฎใคใณใใใฏในไฝๆใ่งฃๆใใงใใใใใซใชใใพใใ diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-1_\343\202\244\343\203\231\343\203\263\343\203\210\343\201\256\350\277\275\345\212\240.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-1_\343\202\244\343\203\231\343\203\263\343\203\210\343\201\256\350\277\275\345\212\240.md" similarity index 71% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-1_\343\202\244\343\203\231\343\203\263\343\203\210\343\201\256\350\277\275\345\212\240.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-1_\343\202\244\343\203\231\343\203\263\343\203\210\343\201\256\350\277\275\345\212\240.md" index d8202252..37d65951 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-1_\343\202\244\343\203\231\343\203\263\343\203\210\343\201\256\350\277\275\345\212\240.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-1_\343\202\244\343\203\231\343\203\263\343\203\210\343\201\256\350\277\275\345\212\240.md" @@ -6,7 +6,7 @@ #### โ ใณใณใใฉใฏใใซใคใใณใใ่ฟฝๅ ใใ -> packages/hardhat/contractsใฎYourContract.solใ้ใใพใใ +> packages/hardhat/contracts ใฎ YourContract.sol ใ้ใใพใใ ไปฅไธใฎๆฐใใใณใผใ่กใ่ฟฝๅ ใใพใใ @@ -20,11 +20,11 @@ ใใฎใคใใณใใจ้ขๆฐใฏใณใณใใฉใฏใๅ ใฎใฉใใซใงใ่ฟฝๅ ใงใใพใใใใในใใใฉใฏใใฃในใฏใไฟฎ้ฃพๅญใใณใณในใใฉใฏใฟใฎไธใซ้ ็ฝฎใใใใจใงใใ -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_1_1.png) ใณใณใใฉใฏใใไฟๅญใใฆใๆฐใใๅคๆดใใใใญใคใใพใใ -> ใใญใฎใใณใ: --resetใใฉใฐใไฝฟ็จใใใจใใฝใผในใฎๆดๆฐใซ้ขไฟใชใใๅธธใซๆฐใใใณใณใใฉใฏใใใใใญใคใใใพใใ +> ใใญใฎใใณใ: --reset ใใฉใฐใไฝฟ็จใใใจใใฝใผในใฎๆดๆฐใซ้ขไฟใชใใๅธธใซๆฐใใใณใณใใฉใฏใใใใใญใคใใใพใใ ``` yarn deploy --reset @@ -32,10 +32,10 @@ yarn deploy --reset ไปฅไธใฎๅบๅใ่กจ็คบใใใใฏใใงใ๏ผ -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_1_2.png) #### โ ๆฐใใ้ขๆฐใใในใใใ http://localhost:3000/debug ใซ็งปๅใใvitalik.ethใซใกใใปใผใธใ้ไฟกใใพใใ -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_3.png) \ No newline at end of file +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_1_3.png) diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-2_\343\202\265\343\203\226\343\202\260\343\203\251\343\203\225\343\201\256\346\233\264\346\226\260.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-2_\343\202\265\343\203\226\343\202\260\343\203\251\343\203\225\343\201\256\346\233\264\346\226\260.md" similarity index 87% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-2_\343\202\265\343\203\226\343\202\260\343\203\251\343\203\225\343\201\256\346\233\264\346\226\260.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-2_\343\202\265\343\203\226\343\202\260\343\203\251\343\203\225\343\201\256\346\233\264\346\226\260.md" index 831d8e83..09f9a2ee 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-2_\343\202\265\343\203\226\343\202\260\343\203\251\343\203\225\343\201\256\346\233\264\346\226\260.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-2_\343\202\265\343\203\226\343\202\260\343\203\251\343\203\225\343\201\256\346\233\264\346\226\260.md" @@ -1,13 +1,14 @@ ## ใตใใฐใฉใใฎๆดๆฐ -### โ GraphQLในใญใผใใฎๆดๆฐ +### โ GraphQL ในใญใผใใฎๆดๆฐ ในใใผใใณใณใใฉใฏใใซใคใใณใใ่ฟฝๅ ใใๅพใใพใGraphQLในใญใผใใๆดๆฐใใฆใGraphใใผใใซไฟๅญใใใใจใณใใฃใใฃใๅซใใๅฟ ่ฆใใใใพใใใจใณใใฃใใฃใซใคใใฆใฎๆ ๅ ฑใฏใใกใใฎใใญใฅใกใณใใๅ่ใซใชใใพใใ + ไปฅไธใฎใณใผใใงใฏใๆขๅญใฎในใญใผใใใคใใณใๅใซๅใใใๆฐใใๅฝๅ่ฆๅใซๆดๆฐใใพใใ -> ในใญใผใใใกใคใซใฏใpackages/subgraph/src/schema.graphqlใซใใใพใใ +> ในใญใผใใใกใคใซใฏใpackages/subgraph/src/schema.graphql ใซใใใพใใ ``` type GreetingChange @entity(immutable: true) { @@ -33,13 +34,13 @@ type SendMessage @entity(immutable: true) { ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_2_1.png) #### โ ใตใใฐใฉใใใใใงในใใฎๆดๆฐ ใใใใฎใจใณใใฃใใฃใใตใใฐใฉใYAMLๆงๆใซ่ฟฝๅ ใใใคใใณใใใณใใฉใ่ฟฝๅ ใใๅฟ ่ฆใใใใพใใ -> ใใฎใใกใคใซใฏใpackages/subgraph/subgraph.yamlใซใใใพใใ +> ใใฎใใกใคใซใฏใpackages/subgraph/subgraph.yaml ใซใใใพใใ ``` entities: @@ -55,7 +56,7 @@ entities: handler: handleSendMessage ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_2_2.png) ใใใพใงในใใใ้ใใซ้ฒใใงใใๅ ดๅใฏใๆฌกใซๆฐใใabiใใณใใผใใฆใณใผใใๅ็ๆใใๅฟ ่ฆใใใใพใใ @@ -63,13 +64,13 @@ entities: yarn abi-copy && yarn codegen ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_2_3.png) #### โ ใใใใณใฐในใฏใชใใใฎๆดๆฐ ๆฌกใซใๅ ใปใฉ็ทจ้ใใใใกใคใซใฎใใใใณใฐใๆดๆฐใใๅฟ ่ฆใใใใพใใ -> ใใฎใใกใคใซใฏใpackages/subgraph/src/mapping.tsใซใใใพใใ +> ใใฎใใกใคใซใฏใpackages/subgraph/src/mapping.ts ใซใใใพใใ ``` import { @@ -123,7 +124,6 @@ export function handleSendMessage(event: SendMessageEvent): void { ใใฎๅคๆดใซใใใใจใใฃใฟๅ ใงใฎใชใณใใจใฉใผใฏ็บ็ใใชใใงใใใใ -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_4.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_2_4.png) ใใใงใปใผๅฎๆใงใ... ใใจใฏๅ ฌ้ใใใ ใ๏ผ - diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244.md" similarity index 73% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244.md" index 2b36c122..5ed20c42 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244.md" @@ -6,8 +6,8 @@ yarn local-ship ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_3_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_3_1.png) ใตใใฐใฉใใซๆฐใใใใผใธใงใณ็ชๅทใ่ฟฝๅ ใใฆใใ ใใใใใใฏไปฅๅใฎใใผใธใงใณใใใ้ซใ็ชๅทใงใใๅฟ ่ฆใใใใพใใ -ๆฌกใซใใตใใฐใฉใใใในใใใฆใๆญฃใใใคใณใใใฏในใใใฆใใใใจใ็ขบ่ชใใพใใ \ No newline at end of file +ๆฌกใซใใตใใฐใฉใใใในใใใฆใๆญฃใใใคใณใใใฏในใใใฆใใใใจใ็ขบ่ชใใพใใ diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-4_\343\203\206\343\202\271\343\203\210.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-4_\343\203\206\343\202\271\343\203\210.md" similarity index 78% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-4_\343\203\206\343\202\271\343\203\210.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-4_\343\203\206\343\202\271\343\203\210.md" index 27e66b25..647f6c41 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-1/lesson-4_\343\203\206\343\202\271\343\203\210.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-1/lesson-4_\343\203\206\343\202\271\343\203\210.md" @@ -16,6 +16,6 @@ ใใฎใใใช็ด ๆดใใใใฌในใใณในใๅพใใใใฏใใงใ๏ผ -![](/public/images/The_Graph-SE2-Subgraph-package/section-1/1_4_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-1/1_4_1.png) -ใใผใฟใจใฏ็ด ๆดใใใใใฎใงใใญ๏ผ \ No newline at end of file +ใใผใฟใจใฏ็ด ๆดใใใใใฎใงใใญ๏ผ diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-1_MetaMask\343\201\256\343\202\244\343\203\263\343\202\271\343\203\210\343\203\274\343\203\253.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-1_MetaMask\343\201\256\343\202\244\343\203\263\343\202\271\343\203\210\343\203\274\343\203\253.md" similarity index 100% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-1_MetaMask\343\201\256\343\202\244\343\203\263\343\202\271\343\203\210\343\203\274\343\203\253.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-1_MetaMask\343\201\256\343\202\244\343\203\263\343\202\271\343\203\210\343\203\274\343\203\253.md" diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-2_\343\203\207\343\203\227\343\203\255\343\202\244\343\203\244\343\203\274\343\202\242\343\202\253\343\202\246\343\203\263\343\203\210\343\201\256\344\275\234\346\210\220.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-2_\343\203\207\343\203\227\343\203\255\343\202\244\343\203\244\343\203\274\343\202\242\343\202\253\343\202\246\343\203\263\343\203\210\343\201\256\344\275\234\346\210\220.md" similarity index 79% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-2_\343\203\207\343\203\227\343\203\255\343\202\244\343\203\244\343\203\274\343\202\242\343\202\253\343\202\246\343\203\263\343\203\210\343\201\256\344\275\234\346\210\220.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-2_\343\203\207\343\203\227\343\203\255\343\202\244\343\203\244\343\203\274\343\202\242\343\202\253\343\202\246\343\203\263\343\203\210\343\201\256\344\275\234\346\210\220.md" index bfe3d87b..ecfdba91 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-2_\343\203\207\343\203\227\343\203\255\343\202\244\343\203\244\343\203\274\343\202\242\343\202\253\343\202\246\343\203\263\343\203\210\343\201\256\344\275\234\346\210\220.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-2_\343\203\207\343\203\227\343\203\255\343\202\244\343\203\244\343\203\274\343\202\242\343\202\253\343\202\246\343\203\263\343\203\210\343\201\256\344\275\234\346\210\220.md" @@ -4,8 +4,8 @@ ๆฌกใซใในใใผใใณใณใใฉใฏใใใในใใใใใซใใใญใคใใใใจๆใใพใ๏ผ ใใฎใฏใผใฏใทใงใใใไฝๆใใใๆ็นใงใฏใThe Graphใฏๅคใใฎใในใใใใใใตใใผใใใฆใใพใใใใใฎไพใงใฏsepoliaใไฝฟ็จใใพใใ -ใในใใใใ็จใฎ่ณ้ใๅฟ ่ฆใชๅ ดๅใฏใไปฅไธใฎใใฉใผใปใใใ่ฉฆใใฆใฟใฆใใ ใใ๏ผ -- +## ใในใใใใ็จใฎ่ณ้ใๅฟ ่ฆใชๅ ดๅใฏใไปฅไธใฎใใฉใผใปใใใ่ฉฆใใฆใฟใฆใใ ใใ๏ผ + #### โ ใใใญใคใคใผใขใซใฆใณใใฎไฝๆ @@ -14,7 +14,7 @@ yarn run generate ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_2_1.png) hardhatใฎ็ฐๅขๅคๆฐใใกใคใซใซไปฅไธใฎใใใซไฟๅญใใใใฏใใงใ๏ผ @@ -29,30 +29,30 @@ hardhatใฎ็ฐๅขๅคๆฐใใกใคใซใซไปฅไธใฎใใใซไฟๅญใใใใฏใใง yarn account ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_2_2.png) ใใใซใใใๅ ฌ้ใขใใฌในใจใใกใณใทใผใชQRใณใผใใ่กจ็คบใใใพใใใใใฆๆฎ้ซ?! ็ด ๆดใใใใงใใญ๏ผ <3 ``` - โโโโโโโ โ โ โโโโโโโ โโโโโโโ - โ โโโ โ โโโโ โโโโ โโโ โ โโโ โ - โ โโโ โ โโโโโโโ โ โโโ โ โโโ โ - โโโโโโโ โโโโโโโโโ โ โ โโโโโโโ - โ โโโโโโโโโโโโโโ โโโโ โ โโโ - โโโโ โโโโโโโโโโโโโโโโโโโโโโโ - โโโ โโโโโโ โโโโโโโโ โโโโ โโ - โโโโโโโ โโ โ โ โโ โโโโโโโโ - โโโโโ โโโ โ โ โโโโโ โโโโโโโโ - โโ โโ โโโโโโโโ โโโโโโ โโโโโโโ - โโโโโโโ โ โโโโ โโโโโโโโโโโโ - โโโโโโโ โโ โโ โโโ โ โ โ โ โโ - โ โโโ โ โ โโโโโโโโโ โโโโโโโโ - โ โโโ โ โโโโ โโโ โโโโ โโโโโโโ - โโโโโโโ โโ โโ โโโโ โโ โโโโ โ + โโโโโโโ โ โ โโโโโโโ โโโโโโโ + โ โโโ โ โโโโ โโโโ โโโ โ โโโ โ + โ โโโ โ โโโโโโโ โ โโโ โ โโโ โ + โโโโโโโ โโโโโโโโโ โ โ โโโโโโโ + โ โโโโโโโโโโโโโโ โโโโ โ โโโ + โโโโ โโโโโโโโโโโโโโโโโโโโโโโ + โโโ โโโโโโ โโโโโโโโ โโโโ โโ + โโโโโโโ โโ โ โ โโ โโโโโโโโ + โโโโโ โโโ โ โ โโโโโ โโโโโโโโ + โโ โโ โโโโโโโโ โโโโโโ โโโโโโโ + โโโโโโโ โ โโโโ โโโโโโโโโโโโ + โโโโโโโ โโ โโ โโโ โ โ โ โ โโ + โ โโโ โ โ โโโโโโโโโ โโโโโโโโ + โ โโโ โ โโโโ โโโ โโโโ โโโโโโโ + โโโโโโโ โโ โโ โโโโ โโ โโโโ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ -Public address: 0x87f00B2c39F97CD00BC6d09777BC4327aCA39180 +Public address: 0x87f00B2c39F97CD00BC6d09777BC4327aCA39180 -- localhost -- ๐ก balance: 0 @@ -62,4 +62,4 @@ Public address: 0x87f00B2c39F97CD00BC6d09777BC4327aCA39180 ้ธๆใใใใงใผใณใใใในใใใใETHใ้ไฟกใใฆใใ ใใใsepoliaใใใในใใใใETHใๅ ฅๆใใใฎใฏๆฏ่ผ็็ฐกๅใชใฎใงใsepoliaใใๅงใใใพใใไปฅไธใฎๅบๅใงใฏใsepoliaใฎๆฎ้ซใใใใใจใใใใใพใใ -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_3.png) \ No newline at end of file +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_2_3.png) diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244\343\201\250\346\244\234\350\250\274.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244\343\201\250\346\244\234\350\250\274.md" similarity index 88% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244\343\201\250\346\244\234\350\250\274.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244\343\201\250\346\244\234\350\250\274.md" index 90a37135..21c2b8e1 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244\343\201\250\346\244\234\350\250\274.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-3_\343\203\207\343\203\227\343\203\255\343\202\244\343\201\250\346\244\234\350\250\274.md" @@ -8,7 +8,7 @@ yarn deploy --network sepolia ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_3_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_3_1.png) ๅ้กใใชใใใฐใไปฅไธใฎใใใชๆๅใฎๅบๅใ่กจ็คบใใใใฏใใงใใ @@ -23,7 +23,7 @@ deploying "YourContract" (tx: 0xf404021d736271a7a0a84d124ed35250c533efe37c177536 yarn verify --network sepolia ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_3_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_3_2.png) ไปฅไธใฎใใใชๆๅใฎๅบๅใ่กจ็คบใใใใฏใใงใ... diff --git a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-4_Subgraph Studio.md b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-4_Subgraph Studio.md similarity index 50% rename from docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-4_Subgraph Studio.md rename to docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-4_Subgraph Studio.md index f0f79450..81d1f8e1 100644 --- a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-4_Subgraph Studio.md +++ b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-4_Subgraph Studio.md @@ -1,25 +1,25 @@ ## Subgraph studio -### Studioใธใฎใตใใฐใฉใใฎ็งป่ก +### Studio ใธใฎใตใใฐใฉใใฎ็งป่ก ใใฆใในใใผใใณใณใใฉใฏใใๅ ฌ้ใในใใใใใซใใใฎใงใใตใใฐใฉใใStudioใซใใใทใฅใใๆใๆฅใพใใใ #### โ https://thegraph.com/studio ใซ็งปๅใใ -![Studio1](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_1.png) +![Studio1](/public/images/TheGraph-ScaffoldEth2/section-2/2_4_1.png) #### โ ใฆใฉใฌใใใๆฅ็ถใใ -![Studio2](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_2.png) +![Studio2](/public/images/TheGraph-ScaffoldEth2/section-2/2_4_2.png) ๆฅ็ถใใใฆใฉใฌใใใใใชใใฎใใฎใงใใใใจใ็ขบ่ชใใใใใซใใชใฏใจในใใซใตใคใณใใๅฟ ่ฆใใใใใใใใพใใใ -![Studio3](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_3.png) +![Studio3](/public/images/TheGraph-ScaffoldEth2/section-2/2_4_3.png) -#### โ Create a Subgraphใใฏใชใใฏใใ +#### โ Create a Subgraph ใใฏใชใใฏใใ -![Studio4](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_4.png) +![Studio4](/public/images/TheGraph-ScaffoldEth2/section-2/2_4_4.png) #### โ ใตใใฐใฉใใซๅๅใใคใใ -![Studio5](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_5.png) \ No newline at end of file +![Studio5](/public/images/TheGraph-ScaffoldEth2/section-2/2_4_5.png) diff --git a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-5_Graph CLI.md b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-5_Graph CLI.md similarity index 77% rename from docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-5_Graph CLI.md rename to docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-5_Graph CLI.md index d2b13e03..c79c04a4 100644 --- a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-5_Graph CLI.md +++ b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-5_Graph CLI.md @@ -1,10 +1,10 @@ ## Graph CLI -### โ CLIใไฝฟ็จใใใตใใฐใฉใใฎใใใญใค +### โ CLI ใไฝฟ็จใใใตใใฐใฉใใฎใใใญใค -#### โ Graph CLIใไฝฟใฃใฆใใใญใคใๅฎไบใใ +#### โ Graph CLI ใไฝฟใฃใฆใใใญใคใๅฎไบใใ -![Studio6](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_1.png) +![Studio6](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_1.png) ไปฅไธใฎใณใใณใใไฝฟ็จใใฆใGraph CLIใใฐใญใผใใซใซใคใณในใใผใซใงใใพใใ @@ -12,7 +12,7 @@ yarn global add @graphprotocol/graph-cli ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_2.png) #### โ ใตใใฐใฉใใฎๅๆๅ @@ -24,9 +24,9 @@ graph init --studio name_of_your_subgraph ใใฎใใใซใชใใพใ... -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_3.png) -#### โ Studioใธใฎ่ช่จผ +#### โ Studio ใธใฎ่ช่จผ Subgraph StudioใฎAuth & Deployใใ่ช่จผๆๅญๅใๅๅพใใพใใ @@ -40,7 +40,7 @@ graph auth --studio auth_key_here Deploy key set for https://api.studio.thegraph.com/deploy/ ``` -#### โ codegenใๅฎ่กใใใตใใฐใฉใใใใซใใใ +#### โ codegen ใๅฎ่กใใใตใใฐใฉใใใใซใใใ ๅใฎในใใใใงใตใใฐใฉใใไฝๆใใใใใฃใฌใฏใใชใซ็งปๅใใๅฟ ่ฆใใใใพใใ @@ -51,7 +51,7 @@ graph codegen && graph build ๆๅใใใจไปฅไธใฎใใใซใชใใพใ๏ผ -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_4.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_4.png) #### โ ใใใญใค @@ -63,13 +63,13 @@ graph deploy --studio name_of_your_subgraph ใใผใธใงใณใ้ธๆใใฆใๅฎ่กใใพใใใ๏ผ -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_5.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_5.png) ใตใใฐใฉใใในใฟใธใชใซใใใญใคใใใใพใงใ5ๅใปใฉใใใใใจใใใใพใใใใใญใคใใใใใๅฎๅ จใซๅๆใใใฆใใฆใจใฉใผใใชใใใจใ็ขบ่ชใใฆใใ ใใใใใใญใคใซๆๅใใใจใไปฅไธใฎใใใซใชใใพใใ -![Studio7](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_6.png) +![Studio7](/public/images/TheGraph-ScaffoldEth2/section-2/2_5_6.png) -#### โ ใใฉใณใถใฏใทใงใณใ้ไฟกใใSubgraph Playgroundใง็ขบ่ชใใ +#### โ ใใฉใณใถใฏใทใงใณใ้ไฟกใใSubgraph Playground ใง็ขบ่ชใใ EtherscanใงใContract -> Write Contractใฟใใใ็ดๆฅใณใณใใฉใฏใใซใใฉใณใถใฏใทใงใณใ้ไฟกใงใใพใใ @@ -101,4 +101,4 @@ EtherscanใงใContract -> Write Contractใฟใใใ็ดๆฅใณใณใใฉใฏใใซ ] } } -``` \ No newline at end of file +``` diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-6_\343\203\225\343\203\255\343\203\263\343\203\210\343\202\250\343\203\263\343\203\211.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-6_\343\203\225\343\203\255\343\203\263\343\203\210\343\202\250\343\203\263\343\203\211.md" similarity index 74% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-6_\343\203\225\343\203\255\343\203\263\343\203\210\343\202\250\343\203\263\343\203\211.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-6_\343\203\225\343\203\255\343\203\263\343\203\210\343\202\250\343\203\263\343\203\211.md" index ccc98b80..e009fcd9 100644 --- "a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-6_\343\203\225\343\203\255\343\203\263\343\203\210\343\202\250\343\203\263\343\203\211.md" +++ "b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-6_\343\203\225\343\203\255\343\203\263\343\203\210\343\202\250\343\203\263\343\203\211.md" @@ -4,11 +4,11 @@ ในใใผใใณใณใใฉใฏใใใในใใใใใซใใใญใคใใSubgraph Studioใงใใผใฟใใคใณใใใฏในใใใฆใใใฎใงใใใญใณใใจใณใใๆดๆฐใใๆใๆฅใพใใใ -#### โ ในใใใ1๏ผScaffold-ETHใฎ่จญๅฎใๆดๆฐใใ +#### โ ในใใใ 1๏ผScaffold-ETH ใฎ่จญๅฎใๆดๆฐใใ ไปฅๅใฎในใใใใงใใใญใคใใใในใใใใใๆใใใใซ่จญๅฎใๆดๆฐใใฆใใ ใใใ -> scaffold.config.tsใฏpackages/nextjsใซใใใพใใ +> scaffold.config.ts ใฏ packages/nextjs ใซใใใพใใ ``` targetNetwork: chains.sepolia, @@ -16,45 +16,45 @@ ๅคๆดใใใจไปฅไธใฎใใใซใชใใพใ๏ผ -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_1.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_1.png) ใใฎๅคๆดใ่กใฃใใใscaffold-ETHใซๆปใใUIใใชใญใผใใใฆใใ ใใใใใผใใผใฆใฉใฌใใใใๅๆญใใใใฎใงใMetamaskใฆใฉใฌใใใไฝฟ็จใใฆใในใใใใใซๆฅ็ถใใพใใ "CONNECT WALLET"ใใฏใชใใฏใใฆใใ ใใ... -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_2.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_2.png) Metamaskใ้ธๆใใฆใใ ใใ... -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_3.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_3.png) ใใใใฏใผใฏใๅใๆฟใใฆใใ ใใ... -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_4.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_4.png) -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_5.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_5.png) ๅฎไบใใใใsepoliaใใใใฏใผใฏไธใฎdappใซๆฅ็ถใใใฆใใใฏใใงใใ -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_6.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_6.png) -#### โ ็ฅใๅใใซใในใใกใใปใผใธใ้ใฃใฆใฟใใ๏ผ๏ผใพใใฏVitalikใธ๏ผ +#### โ ็ฅใๅใใซใในใใกใใปใผใธใ้ใฃใฆใฟใใ๏ผ๏ผใพใใฏ Vitalik ใธ๏ผ ใใใญใคใใในใใผใใณใณใใฉใฏใใซใคใใณใใ้ไฟกใใใใจๆใใพใใใใญใณใใจใณใใ้ฉๅใซ่จญๅฎใใใฆใใใฎใงใใใใฏๆฏ่ผ็็ฐกๅใซ่กใใใจใใงใใพใใ -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_7.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_7.png) -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_8.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_8.png) ๆฌกใซใStudioใงใกใใปใผใธใๆญฃๅธธใซใคใณใใใฏในใใใใใฉใใใ็ขบ่ชใใพใใGraphiQLใจใฏในใใญใผใฉใฏใใPlaygroundใใใผใธใซใใใพใใ -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_9.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_9.png) -#### โ GraphQL URLใ้็บ็จใจใณใใใคใณใใซๆดๆฐใใ +#### โ GraphQL URL ใ้็บ็จใจใณใใใคใณใใซๆดๆฐใใ ใตใใฐใฉใใฎ้็บใจใณใใใคใณใใฏใSubgraph Studioใฎdetailsใฟใใง่ฆใคใใใใจใใงใใพใใ -> _app.tsxใ็ทจ้ใใพใใpackages/nextjs/pagesใซใใใพใใ +> \_app.tsx ใ็ทจ้ใใพใใpackages/nextjs/pages ใซใใใพใใ ``` const subgraphUri = "https://api.studio.thegraph.com/query/51078/sendmessage-test/version/latest"; @@ -66,13 +66,13 @@ Metamaskใ้ธๆใใฆใใ ใใ... ๅคๆดใใใจไปฅไธใฎใใใซใชใใพใ๏ผ -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_10.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_10.png) -#### โ index.tsใใกใคใซใใพใฃใใใช็ถๆ ใใๅงใใ +#### โ index.ts ใใกใคใซใใพใฃใใใช็ถๆ ใใๅงใใ ๅฟ ่ฆใชใใฎใindex.tsใใกใคใซใซใคใณใใผใใใพใใใใใพใใreturnๅ ใฎๆ ๅ ฑใๅ จใฆใฏใชใขใใใใจใใงใใพใใ -> index.tsใฏpackages/nextjs/pagesใซใใใพใใ +> index.ts ใฏ packages/nextjs/pages ใซใใใพใใ ไปฅไธใฎใใใซใชใใฏใใงใ... @@ -96,7 +96,7 @@ export default Home; ๅคๆดๅพใใใผใ ใใฃใฌใฏใใชใฏไปฅไธใฎใใใซใชใใพใ๏ผ -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_11.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_11.png) #### โ ใใผใใซๅฝขๅผใงใกใใปใผใธใ่กจ็คบใใ @@ -147,7 +147,7 @@ export const GET_MESSAGES = gql` const messages = messagesData?.sendMessages || []; ``` -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_13.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_13.png) ใใใๅฐใใชใใกใฏใฟใชใณใฐใใฆใๅใชใใใญในใใฎไปฃใใใซ``ใณใณใใผใใณใใไฝฟใใพใใใใ @@ -161,6 +161,6 @@ export const GET_MESSAGES = gql` ใใใซใใใ้ทใๆๅญๅใใใใฏใใใซ่ฆๆ ใใใใใชใใพใ๏ผ :D -![](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_14.png) +![](/public/images/TheGraph-ScaffoldEth2/section-2/2_6_14.png) -> ๆณจ๏ผๅฎๅ จใชใใกใคใซใใ่ฆงใซใชใใใๅ ดๅใฏใ[ใใกใ](https://gist.github.com/kmjones1979/26ef9633b61b17f237e88eb41bb688de)ใใ่ฆงใใ ใใ๏ผ \ No newline at end of file +> ๆณจ๏ผๅฎๅ จใชใใกใคใซใใ่ฆงใซใชใใใๅ ดๅใฏใ[ใใกใ](https://gist.github.com/kmjones1979/26ef9633b61b17f237e88eb41bb688de)ใใ่ฆงใใ ใใ๏ผ diff --git "a/docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-7_\343\203\225\343\203\255\343\203\263\343\203\210\343\202\250\343\203\263\343\203\211\343\201\256\345\205\254\351\226\213.md" "b/docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-7_\343\203\225\343\203\255\343\203\263\343\203\210\343\202\250\343\203\263\343\203\211\343\201\256\345\205\254\351\226\213.md" similarity index 100% rename from "docs/The_Graph-SE2-Subgraph-package/ja/section-2/lesson-7_\343\203\225\343\203\255\343\203\263\343\203\210\343\202\250\343\203\263\343\203\211\343\201\256\345\205\254\351\226\213.md" rename to "docs/TheGraph-ScaffoldEth2/ja/section-2/lesson-7_\343\203\225\343\203\255\343\203\263\343\203\210\343\202\250\343\203\263\343\203\211\343\201\256\345\205\254\351\226\213.md" diff --git a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-4_Subgraph Studio.md b/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-4_Subgraph Studio.md deleted file mode 100644 index 4dde0ec8..00000000 --- a/docs/The_Graph-SE2-Subgraph-package/en/section-2/lesson-4_Subgraph Studio.md +++ /dev/null @@ -1,26 +0,0 @@ -## Subgraph studio - -### Migrating you Subgraph to the Studio - -Now that our smart contract is on a public testnet it is time to push our Subgraph to the Studio. - -#### โ Navigate to https://thegraph.com/studio - -![Studio1](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_1.png) - -#### โ Connect your wallet - -![Studio2](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_2.png) - -You might need to sign a request to verify that you own the connected wallet. - -![Studio3](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_3.png) - -#### โ Click Create a Subgraph - -![Studio4](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_4.png) - -#### โ Name your Subgraph - -![Studio5](/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_5.png) - diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_1.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_1_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_1.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_1_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_2.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_1_2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_2.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_1_2.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_3.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_1_3.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_3.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_1_3.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_4.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_1_4.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_1_4.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_1_4.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_1.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_3_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_1.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_3_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_2.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_3_2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_2.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_3_2.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_3.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_3_3.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_3.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_3_3.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_4.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_3_4.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_4.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_3_4.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_5.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_3_5.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_5.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_3_5.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_6.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_3_6.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_3_6.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_3_6.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_4_1.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_4_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_4_1.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_4_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_5_1.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_5_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_5_1.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_5_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_5_2.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_5_2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_5_2.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_5_2.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_5_3.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_5_3.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_5_3.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_5_3.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-0/0_6_1.png b/public/images/TheGraph-ScaffoldEth2/section-0/0_6_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-0/0_6_1.png rename to public/images/TheGraph-ScaffoldEth2/section-0/0_6_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_1.png b/public/images/TheGraph-ScaffoldEth2/section-1/1_1_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_1.png rename to public/images/TheGraph-ScaffoldEth2/section-1/1_1_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_2.png b/public/images/TheGraph-ScaffoldEth2/section-1/1_1_2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_2.png rename to public/images/TheGraph-ScaffoldEth2/section-1/1_1_2.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_3.png b/public/images/TheGraph-ScaffoldEth2/section-1/1_1_3.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-1/1_1_3.png rename to public/images/TheGraph-ScaffoldEth2/section-1/1_1_3.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_1.png b/public/images/TheGraph-ScaffoldEth2/section-1/1_2_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_1.png rename to public/images/TheGraph-ScaffoldEth2/section-1/1_2_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_2.png b/public/images/TheGraph-ScaffoldEth2/section-1/1_2_2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_2.png rename to public/images/TheGraph-ScaffoldEth2/section-1/1_2_2.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_3.png b/public/images/TheGraph-ScaffoldEth2/section-1/1_2_3.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_3.png rename to public/images/TheGraph-ScaffoldEth2/section-1/1_2_3.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_4.png b/public/images/TheGraph-ScaffoldEth2/section-1/1_2_4.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-1/1_2_4.png rename to public/images/TheGraph-ScaffoldEth2/section-1/1_2_4.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-1/1_3_1.png b/public/images/TheGraph-ScaffoldEth2/section-1/1_3_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-1/1_3_1.png rename to public/images/TheGraph-ScaffoldEth2/section-1/1_3_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-1/1_4_1.png b/public/images/TheGraph-ScaffoldEth2/section-1/1_4_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-1/1_4_1.png rename to public/images/TheGraph-ScaffoldEth2/section-1/1_4_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_1.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_2_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_1.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_2_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_2.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_2_2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_2.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_2_2.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_3.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_2_3.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_2_3.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_2_3.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_3_1.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_3_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_3_1.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_3_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_3_2.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_3_2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_3_2.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_3_2.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_1.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_4_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_1.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_4_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_2.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_4_2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_2.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_4_2.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_3.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_4_3.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_3.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_4_3.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_4.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_4_4.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_4.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_4_4.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_5.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_4_5.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_4_5.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_4_5.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_1.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_5_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_1.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_5_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_2.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_5_2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_2.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_5_2.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_3.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_5_3.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_3.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_5_3.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_4.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_5_4.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_4.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_5_4.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_5.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_5_5.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_5.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_5_5.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_6.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_5_6.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_5_6.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_5_6.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_1.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_1.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_1.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_1.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_10.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_10.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_10.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_10.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_11.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_11.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_11.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_11.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_12.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_12.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_12.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_12.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_13.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_13.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_13.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_13.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_14.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_14.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_14.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_14.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_2.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_2.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_2.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_3.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_3.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_3.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_3.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_4.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_4.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_4.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_4.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_5.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_5.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_5.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_5.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_6.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_6.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_6.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_6.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_7.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_7.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_7.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_7.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_8.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_8.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_8.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_8.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_9.png b/public/images/TheGraph-ScaffoldEth2/section-2/2_6_9.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/2_6_9.png rename to public/images/TheGraph-ScaffoldEth2/section-2/2_6_9.png diff --git a/public/images/The_Graph-SE2-Subgraph-package/section-2/Lesson5-2.png b/public/images/TheGraph-ScaffoldEth2/section-2/Lesson5-2.png similarity index 100% rename from public/images/The_Graph-SE2-Subgraph-package/section-2/Lesson5-2.png rename to public/images/TheGraph-ScaffoldEth2/section-2/Lesson5-2.png