Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatmikh committed Dec 31, 2018
1 parent 56c582b commit f5b0db6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/staking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Staking procedure
================

Before making any transaction (including deploy of a new contract), user need to have its address staked.

For staking addresses we have a contract at address `0x0000000000000000000000000000000000000022`. It source is [here](https://github.com/papyrusglobal/docker-images/blob/master/geth-papyrus/contracts/papyrus.sol).

To check that the address is already staked and can be used to make transactions, call `IsFrozen` method with the address as the argument.

To stake the current address, call `freeze` method with no parameters. After that, all its balance will become unavailable for any subsequent transactions that try to decrease it. And after the `freezeGap` time, the address will be staked.

0 comments on commit f5b0db6

Please sign in to comment.