From 2717de2e13148f74e7aa07d5304397ac8c788274 Mon Sep 17 00:00:00 2001 From: Ian Traas <108365619+itraas@users.noreply.github.com> Date: Mon, 5 Sep 2022 19:31:24 -0500 Subject: [PATCH] Update overview.md Updated copy for style and clarity. --- src/development/scaffold/overview.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/development/scaffold/overview.md b/src/development/scaffold/overview.md index 932d85b..8bb1c90 100644 --- a/src/development/scaffold/overview.md +++ b/src/development/scaffold/overview.md @@ -1,21 +1,19 @@ # xDapp Scaffold -To help you get started with cross chain development, we've provided a template project in `projects/xdapp-starter`. All the sample projects will be made using this template, so check them out if you want to get a feel for how the various modules interact with each other. +To help you get started with cross-chain development, we've provided a template project in `projects/xdapp-starter`. All sample projects will be made using this template, so check them out if you want to get a feel for how various modules interact with each other. -The template uses npm workspaces to setup a main project with subdirectories for each chain you want to interact with. This allows you to initialize each subdirectory using whatever scaffolding tool you want for each individual chain, and orchestration code in a common directory. +The template uses npm workspaces to setup a main project with subdirectories for each supported chain. This allows you to initialize each subdirectory using any scaffolding tool for each individual chain along with orchestration code in a common directory. Let's break down what's in the `xdapp-starter` project: ### chains/ -- This folder contains the subdirectories for chain specific code. For example, I might use the `anchor` tool to `anchor init solana-project` within the chains/ directory. +This folder contains the subdirectories for chain-specific code. For example, you might use the `anchor` tool to `anchor init solana-project` within the chains/ directory. ### handlers/ -The handlers folder contains the js client code to deal with each chain's specific needs. They expose a common API that we can consume in `starter.js` for code cleanliness. - -They all take in a context object that's made up of the +The handlers/ folder contains the js client code to deal with each chain's specific needs. They expose a common API that we can consume in `starter.js` for code cleanliness. ### orchestrator.js This file parses command line args and filters calls to chain management handlers. ### xdapp.config.json -The config file contains all the information about the network rpc nodes, accounts, and other constants used to communicate with contracts deployed to the selected chains. \ No newline at end of file +The config file contains all the information about the network rpc nodes, accounts, and other constants used to communicate with contracts deployed to the selected chains.