on master help sign in
Apply suggestions from code review

Co-authored-by: tinnus-napbus <77721746+tinnus-napbus@users.noreply.github.com>

commite9a5e1f26d06e3d40730dc77437bbe63b108a972 author~datnut-pollen <51337059+drbeefsupreme@users.noreply.github.com> dateMon 28 Mar 2022, 12:11 (5 years ago) parent0d6b213
1 file changed+51−18
content/docs/azimuth/l2/roller-tutorial.md+51−18
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
1717of a front end is not mandatory.
1818
1919Note 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
2121do not fully understand what this entails, we recommend against running your own
2222roller on the Ethereum mainnet. See [below](#step2) for more information on
2323this.
@@ -155,23 +155,56 @@ set up at `https://myroller.sampel-pal.net`.
155155rate at which transactions are submitted and manually submitting batches. These
156156can be modified using the following generators:
157157
158−```
159−:roller|commit :: submits a new L2 batch with all pending transactions. No argument.
160−:roller|config :: general configuration command. Takes a $config argument (see /sur/dice.hoon)
161−:roller|endpoint :: set the Infura endpoint. Takes a [@t ?(%mainnet %ropsten
162−%local)] argument.
163−:roller|frequency :: Sets the frequency at which batches are submitted. Takes a
164−@dr argument
165−:roller|local :: Configures %roller to listen to a local Ethereum node at
166−port 8545. No argument.
167−:roller|quota :: Modified the number of txs a ship is allowed to send per unit
168−time. Take a @ud argument.
169−:roller|ropsten :: Configure %roller to listen to a preset Ropsten Infura node.
170−No argument.
171−:roller|setkey :: Load a private key into the roller and retrieves its L1
172−nonce. Takes a @t argument.
173−:roller|slice :: Modified the unit of time for each ship's quota. Take a @dr argument.
174−```
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>
163+ <td>Submits a new L2 batch with all pending transactions.</td>
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>
173+ <td>Set the Infura endpoint.</td>
174+ <td><code>[@t ?(%mainnet %ropsten %local)]</code></td>
175+ </tr>
176+ <tr>
177+ <td><code>:roller|frequency</code></td>
178+ <td>Sets the frequency at which batches are submitted.</td>
179+ <td><code>@dr</code></td>
180+ </tr>
181+ <tr>
182+ <td><code>:roller|local</code></td>
183+ <td>Configures <code>%roller</code> to listen to a local Ethereum node at port 8545.</td>
184+ <td>None.</td>
185+ </tr>
186+ <tr>
187+ <td><code>:roller|quota</code></td>
188+ <td>Modified the number of txs a ship is allowed to send per unit time.</td>
189+ <td><code>@ud</code></td>
190+ </tr>
191+ <tr>
192+ <td><code>:roller|ropsten</code></td>
193+ <td>Configure %roller to listen to a preset Ropsten Infura node.</td>
194+ <td>None.</td>
195+ </tr>
196+ <tr>
197+ <td><code>:roller|setkey</code></td>
198+ <td>Load a private key into the roller and retrieves its L1 nonce.</td>
199+ <td><code>@t</code></td>
200+ </tr>
201+ <tr>
202+ <td><code>:roller|slice</code></td>
203+ <td>Modified the unit of time for each ship's quota.</td>
204+ <td><code>@dr</code></td>
205+ </tr>
206+</tbody>
207+</table>
175208
176209
177210