mirror of https://github.com/nucypher/nucypher.git
Remove --poa flag from docs, as it's not needed by default
parent
6b171dcf03
commit
120e66fbcf
|
@ -23,7 +23,7 @@ Additional flags can be set up to increase the block gas limit.
|
|||
|
||||
.. code:: bash
|
||||
|
||||
(nucypher)$ nucypher-deploy contracts --provider ipc:///tmp/geth.ipc --poa
|
||||
(nucypher)$ nucypher-deploy contracts --provider ipc:///tmp/geth.ipc
|
||||
...
|
||||
|
||||
This will deploy the main NuCypher contracts, namely ``NuCypherToken``, ``StakingEscrow``, ``PolicyManager`` and ``Adjudicator``,
|
||||
|
|
|
@ -20,7 +20,7 @@ Initialize Alice and Bob
|
|||
------------------------
|
||||
.. code::
|
||||
|
||||
(nucypher)$ nucypher alice init --provider <YOUR PROVIDER URI> --poa
|
||||
(nucypher)$ nucypher alice init --provider <YOUR PROVIDER URI>
|
||||
|
||||
(nucypher)$ nucypher bob init --provider <YOUR PROVIDER URI>
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ Running an Ursula via CLI (Interactive)
|
|||
|
||||
.. code:: bash
|
||||
|
||||
(nucypher)$ nucypher ursula init --provider <YOUR PROVIDER URI> --poa --network <NETWORK_NAME>
|
||||
(nucypher)$ nucypher ursula init --provider <YOUR PROVIDER URI> --network <NETWORK_NAME>
|
||||
|
||||
|
||||
Replace ``<YOUR PROVIDER URI>`` with a valid node web3 node provider string, for example:
|
||||
|
|
|
@ -34,7 +34,7 @@ All ``nucypher worklock`` commands share a similar structure:
|
|||
|
||||
.. code::
|
||||
|
||||
(nucypher)$ nucypher worklock <ACTION> [OPTIONS] --network <NETWORK> --provider <YOUR PROVIDER URI> --poa
|
||||
(nucypher)$ nucypher worklock <ACTION> [OPTIONS] --network <NETWORK> --provider <YOUR PROVIDER URI>
|
||||
|
||||
|
||||
Replace ``<YOUR PROVIDER URI>`` with a valid node web3 node provider string, for example:
|
||||
|
@ -49,14 +49,14 @@ You can obtain information about the current state of WorkLock by running:
|
|||
|
||||
.. code::
|
||||
|
||||
(nucypher)$ nucypher worklock status --network <NETWORK> --provider <YOUR PROVIDER URI> --poa
|
||||
(nucypher)$ nucypher worklock status --network <NETWORK> --provider <YOUR PROVIDER URI>
|
||||
|
||||
|
||||
If you want to see detailed information about your current bid, you can specify your bidder address with the ``--bidder-address`` flag:
|
||||
|
||||
.. code::
|
||||
|
||||
(nucypher)$ nucypher worklock status --bidder-address <YOUR BIDDER ADDRESS> --network <NETWORK> --provider <YOUR PROVIDER URI> --poa
|
||||
(nucypher)$ nucypher worklock status --bidder-address <YOUR BIDDER ADDRESS> --network <NETWORK> --provider <YOUR PROVIDER URI>
|
||||
|
||||
|
||||
Place a bid
|
||||
|
@ -66,7 +66,7 @@ You can place a bid to WorkLock by running:
|
|||
|
||||
.. code::
|
||||
|
||||
(nucypher)$ nucypher worklock bid --network <NETWORK> --provider <YOUR PROVIDER URI> --poa
|
||||
(nucypher)$ nucypher worklock bid --network <NETWORK> --provider <YOUR PROVIDER URI>
|
||||
|
||||
|
||||
Recall that there's a minimum bid amount needed to participate in WorkLock.
|
||||
|
@ -79,7 +79,7 @@ You can cancel a bid to WorkLock by running:
|
|||
|
||||
.. code::
|
||||
|
||||
(nucypher)$ nucypher worklock cancel-bid --network <NETWORK> --provider <YOUR PROVIDER URI> --poa
|
||||
(nucypher)$ nucypher worklock cancel-bid --network <NETWORK> --provider <YOUR PROVIDER URI>
|
||||
|
||||
|
||||
Claim your stake
|
||||
|
@ -89,14 +89,14 @@ Once the claiming window is open, you can claim your tokens as a stake in NuCyph
|
|||
|
||||
.. code::
|
||||
|
||||
(nucypher)$ nucypher worklock claim --network <NETWORK> --provider <YOUR PROVIDER URI> --poa
|
||||
(nucypher)$ nucypher worklock claim --network <NETWORK> --provider <YOUR PROVIDER URI>
|
||||
|
||||
|
||||
Once claimed, you can check that the stake was created successfully by running:
|
||||
|
||||
.. code::
|
||||
|
||||
(nucypher)$ nucypher status stakers --staking-address <YOUR BIDDER ADDRESS> --network {network} --provider <YOUR PROVIDER URI> --poa
|
||||
(nucypher)$ nucypher status stakers --staking-address <YOUR BIDDER ADDRESS> --network {network} --provider <YOUR PROVIDER URI>
|
||||
|
||||
|
||||
Check remaining work
|
||||
|
@ -106,7 +106,7 @@ If you have a stake created from WorkLock, you can check how much work is pendin
|
|||
|
||||
.. code::
|
||||
|
||||
(nucypher)$ nucypher worklock remaining-work --network <NETWORK> --provider <YOUR PROVIDER URI> --poa
|
||||
(nucypher)$ nucypher worklock remaining-work --network <NETWORK> --provider <YOUR PROVIDER URI>
|
||||
|
||||
|
||||
Refund locked ETH
|
||||
|
@ -116,4 +116,4 @@ If you've committed some work, you are able to refund proportional part of ETH y
|
|||
|
||||
.. code::
|
||||
|
||||
(nucypher)$ nucypher worklock refund --network <NETWORK> --provider <YOUR PROVIDER URI> --poa
|
||||
(nucypher)$ nucypher worklock refund --network <NETWORK> --provider <YOUR PROVIDER URI>
|
||||
|
|
Loading…
Reference in New Issue