From ed34376ae1485f78f2470052c0df8f6e77aca2d3 Mon Sep 17 00:00:00 2001 From: Andy Tudhope Date: Sat, 25 Aug 2018 11:24:35 +0200 Subject: [PATCH] Minor grammar updates to 7: Deploy Just a few small changes for better readability. --- instructions/7 Testnet Deployment.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/instructions/7 Testnet Deployment.md b/instructions/7 Testnet Deployment.md index 7191aa1..fa76439 100644 --- a/instructions/7 Testnet Deployment.md +++ b/instructions/7 Testnet Deployment.md @@ -1,5 +1,5 @@ ## Testnet Deployment -Now that we finished building our dApp, we need to deploy it. We'll perform this activity deploying our contracts to the ropsten testnet, and our dApp resources to IPFS using Embark's upload feature. +Now that we finished building our dApp, we need to deploy it. We'll deploy our contracts to the ropsten testnet, and our dApp resources to IPFS using Embark's upload feature. ### Configuring our deployment ethereum account Let's edit`./config/contracts.js` to add a testnet section that will contain our contract deployment settings. Embark supports different types of configurations for [deployment](https://embark.status.im/docs/contracts.html#Deployer-Account) of smart contracts. For this particular tutorial, we will use a private key that contains Ropsten ETH: @@ -11,10 +11,10 @@ Let's edit`./config/contracts.js` to add a testnet section that will contain our }] } ``` -> Notice that on dappConnection we only specified $WEB3. This is because we will use a web3 provider that is automatically injected by Status / Metamask / Mist. However, this might change in the future with [EIP-1102](https://eips.ethereum.org/EIPS/eip-1102) +> Notice that on `dappConnection` we only specified `$WEB3`. This is because we will use the web3 provider that is automatically injected by Status / Metamask / Mist. However, this might change in the future with [EIP-1102](https://eips.ethereum.org/EIPS/eip-1102) ### Storage -For storage, we will use [Infura](https://infura.io) IPFS Gateway to upload our dApp files. This is configured on `./config/storage.js`. In this config file, we need to add a `testnet` section and configure both the `upload`, and `dappConnection` for handling the file uploads during the dApp runtime. +For storage, we will use the [Infura](https://infura.io) IPFS Gateway to upload our dApp files. This is configured in `./config/storage.js`. In this config file, we need to add a `testnet` section and configure both the `upload`, and `dappConnection` for handling the file uploads during the dApp runtime. ``` testnet: { @@ -36,8 +36,8 @@ For storage, we will use [Infura](https://infura.io) IPFS Gateway to upload our ``` ### 3... 2... 1... Deploy! -Once you've done all the configuration, we'll proceed to execute `embark blockchain testnet` in a terminal session and `embark upload testnet` in other. Embark will proceed to compile our contracts, deploy them and upload the files to our dApp +Once you've done all the configuration, we'll proceed to execute `embark blockchain testnet` in one terminal session and `embark upload testnet` in a separate one. Embark will proceed to compile our contracts, deploy them, and prepare the files for our dApp. > Notice we are running `embark blockchain testnet` in a separate session in order to be able to see the sync state of our geth light node. The first time this is executed, geth will download a number of headers of the mined blocks, so the initial deployment of our contracts might take longer than usual. After our node synchronizes, our deployments will be faster. -Once the upload process concludes, execute `ipfs daemon` to share the dApp files with the IPFS network, and you would be able to access your dApp in the browser using the URL shown by Embark's upload process. You can access now your dApp via Status, or a Browser using Metamask. \ No newline at end of file +Once the upload process concludes, execute `ipfs daemon` to share the dApp files with the IPFS network, and you would be able to access your dApp in the browser using the URL shown by Embark's upload process. You can access now your dApp via Status, or a Browser using Metamask.