Skip to content

Commit 8eb8010

Browse files
committed
docs: layout mods #116
1 parent 303466f commit 8eb8010

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

website/versioned_docs/version-1.0.0/4_01_UC_CONTRACT_DEPLOYMENT.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ cd 6e0eb979c911bf465896d49cf08e86da
4444
ls -l
4545
```
4646
This gist contains the bash script `setup_utility_chain_1409` required to do the following -
47-
> Check if `geth` is installed
48-
> Create a directory where the `chaindata` would be store
49-
> Connect geth to listen on the Network listening port (default: 30303)
50-
> Connect geth to listen on the HTTP-RPC server listening port (default: 8545)
51-
> Connect geth to listen on the WS-RPC server listening port (default: 8546)
52-
> Download the Bootnode files
53-
> Download the Genesis file
54-
> Finally combine all the requirements together and inititalize `geth` with the above parameters in the following command.
47+
* Check if `geth` is installed
48+
* Create a directory where the `chaindata` would be store
49+
* Connect geth to listen on the Network listening port (default: 30303)
50+
* Connect geth to listen on the HTTP-RPC server listening port (default: 8545)
51+
* Connect geth to listen on the WS-RPC server listening port (default: 8546)
52+
* Download the Bootnode files
53+
* Download the Genesis file
54+
* Finally combine all the requirements together and inititalize `geth` with the above parameters in the following command.
5555

5656
```bash
5757
$GETH_EXEC --networkid $networkid --datadir $datadir --port $port --rpc --rpcapi eth,net,web3,personal --rpcport $rpcport --ws --wsport $wsport --bootnodes $bootNodes $extraArgs;
@@ -141,8 +141,8 @@ contract StorageTest {
141141
}
142142
```
143143
The contracts is called `StorageTest` and it has two functions
144-
> Fn `set`, sets the data you want to store in the contract
145-
> Fn `get`, gets the saved data you have already stored
144+
* Fn `set`, sets the data you want to store in the contract
145+
* Fn `get`, gets the saved data you have already stored
146146

147147
Since every call to ethereum storage is a transaction (txn) requiring gas we will execute txns to save/store the data. `get` will get this data without costing gas, see steps 4 of section _Contract Deployment and testing on the UC_ to know what is `gas` and how to get it for the UC.
148148

@@ -184,9 +184,9 @@ make sure to transfer (using the [ost-sdk-ruby](https://github.com/OpenSTFoundat
184184
For executing this step you will need to [register for OST KIT⍺](https://dev.ost.com/docs/kit.html). Complete the steps in this tutorial.
185185
186186
5. In a separate console spin up an official OST KIT⍺ sdk and execute the new [transfers api](https://dev.ost.com/docs/api_transfers_create.html)
187-
> javascript - https://github.com/OpenSTFoundation/ost-sdk-js
188-
> ruby - https://github.com/OpenSTFoundation/ost-sdk-ruby
189-
> php - https://github.com/OpenSTFoundation/ost-sdk-php
187+
* javascript - https://github.com/OpenSTFoundation/ost-sdk-js
188+
* ruby - https://github.com/OpenSTFoundation/ost-sdk-ruby
189+
* php - https://github.com/OpenSTFoundation/ost-sdk-php
190190
191191
Here we show the example of the JavaScript SDK. Make sure that the `to_address` is the coinbase address you copied previously, the amount required can be understood [from dev.ost.com documentation](https://dev.ost.com/docs/api_transfers_create.html#amount)
192192

0 commit comments

Comments
 (0)