on master help sign in
Apply suggestions from code review
e9a5e1f~datnut-pollen
content/docs/azimuth/l2/roller-tutorial.md+51−18
@@ -17,7 +17,7 @@ utilize the Ropsten Ethereum network. We also explain how to set up a front end
17of a front end is not mandatory.
17of a front end is not mandatory.
18
18
19Note that this process involves giving the private key of an Ethereum wallet to
19Note that this process involves giving the private key of an Ethereum wallet to
20−ship running the roller so that it may spend ETH to submit transactions. If you
20+the ship running the roller so that it may spend ETH to submit transactions. If you
21do not fully understand what this entails, we recommend against running your own
21do not fully understand what this entails, we recommend against running your own
22roller on the Ethereum mainnet. See [below](#step2) for more information on
22roller on the Ethereum mainnet. See [below](#step2) for more information on
23this.
23this.
@@ -155,23 +155,56 @@ set up at `https://myroller.sampel-pal.net`.
155rate at which transactions are submitted and manually submitting batches. These
155rate at which transactions are submitted and manually submitting batches. These
156can be modified using the following generators:
156can be modified using the following generators:
157
157
158−```
158+<table>
159+ <thead><tr><th>Dojo Command</th><th>Description</th><th>Argument</th></tr></thead>
160+<tbody>
161+ <tr>
162+ <td><code>:roller|commit</code></td>
159−:roller|commit :: submits a new L2 batch with all pending transactions. No argument.
163+ <td>Submits a new L2 batch with all pending transactions.</td>
160−:roller|config :: general configuration command. Takes a $config argument (see /sur/dice.hoon)
164+ <td>None.</td>
165+ </tr>
166+ <tr>
167+ <td><code>:roller|config</code></td>
168+ <td>General configuration command.</td>
169+ <td><code>$config</code> (see <code>/sur/dice.hoon</code>)</td>
170+ </tr>
171+ <tr>
172+ <td><code>:roller|endpoint</code></td>
161−:roller|endpoint :: set the Infura endpoint. Takes a [@t ?(%mainnet %ropsten
173+ <td>Set the Infura endpoint.</td>
162−%local)] argument.
174+ <td><code>[@t ?(%mainnet %ropsten %local)]</code></td>
175+ </tr>
176+ <tr>
177+ <td><code>:roller|frequency</code></td>
163−:roller|frequency :: Sets the frequency at which batches are submitted. Takes a
178+ <td>Sets the frequency at which batches are submitted.</td>
164−@dr argument
179+ <td><code>@dr</code></td>
180+ </tr>
181+ <tr>
182+ <td><code>:roller|local</code></td>
165−:roller|local :: Configures %roller to listen to a local Ethereum node at
183+ <td>Configures <code>%roller</code> to listen to a local Ethereum node at port 8545.</td>
166−port 8545. No argument.
184+ <td>None.</td>
185+ </tr>
186+ <tr>
187+ <td><code>:roller|quota</code></td>
167−:roller|quota :: Modified the number of txs a ship is allowed to send per unit
188+ <td>Modified the number of txs a ship is allowed to send per unit time.</td>
168−time. Take a @ud argument.
189+ <td><code>@ud</code></td>
190+ </tr>
191+ <tr>
192+ <td><code>:roller|ropsten</code></td>
169−:roller|ropsten :: Configure %roller to listen to a preset Ropsten Infura node.
193+ <td>Configure %roller to listen to a preset Ropsten Infura node.</td>
170−No argument.
194+ <td>None.</td>
195+ </tr>
196+ <tr>
197+ <td><code>:roller|setkey</code></td>
171−:roller|setkey :: Load a private key into the roller and retrieves its L1
198+ <td>Load a private key into the roller and retrieves its L1 nonce.</td>
172−nonce. Takes a @t argument.
199+ <td><code>@t</code></td>
200+ </tr>
201+ <tr>
202+ <td><code>:roller|slice</code></td>
173−:roller|slice :: Modified the unit of time for each ship's quota. Take a @dr argument.
203+ <td>Modified the unit of time for each ship's quota.</td>
174−```
204+ <td><code>@dr</code></td>
205+ </tr>
206+</tbody>
207+</table>
175
208
176
209
177
210