diff --git a/docs/build/deeplinks.md b/docs/build/deeplinks.md new file mode 100644 index 0000000..4e55dfa --- /dev/null +++ b/docs/build/deeplinks.md @@ -0,0 +1,69 @@ +--- +slug: /use/deeplinks +--- + +# Deeplinks + +Based on materials of Matthew Reichardt [me@matthewreichardt.com](mailto\:me@matthewreichardt.com) ([https://github.com/hyle-team/zano/issues/269](https://github.com/hyle-team/zano/issues/269)) + +### Zano URI Scheme + +**action** - type of action requested, supported actions: + +- send - simply send coins to given address +- escrow - create escrow-contract +- marketplace\_offer\_create - create marketplace offer + +### Action "send" + +Example of **send** command: + +**zano\:action +\=send\&address=ZxCkvE7zhS6JuFE5neAaTtcY8PUT2CwfLZJQWP32jrELB1Vg9oSJyGJDyRWurqX6SXSqxjGz2yrAKaMqmxDa7E8313igosBVT\&comment='Some payment'\&mixins=11\&hide\_sender=true\&hide\_receiver=true** + +- address - address of recipient +- comment - comment about payment\[optional] +- mixins - number of mixins\[optional] +- hide\_sender - specify if sender address should be included in transaction(and visible for receiver) +- hide\_receiver - specify if receiver address should be included in transaction(and visible for sender later, if wallet been restored from seed phrase) + +### Action "marketplace\_offer\_create" + +Example of **marketplace\_offer\_create** command: + +**zano\:action +\=marketplace\_offer\_create\&mixins=11\&hide\_sender=true\&hide\_receiver=true\&title='Random t-shirt'\&description='One size fits all'\&category='merch-tshirt'\&price=10\&img-url=''\&contact='@ravaga'\&comments='zzzz'** + +**Basic params:** + +- mixins - number of mixins\[optional] +- hide\_sender - specify if sender address should be included in transaction(and visible for receiver) +- hide\_receiver - specify if receiver address should be included in transaction(and visible for sender later, if wallet been restored from seed phrase) + +**Offer details:** + +- title – offer title +- description – detailed offer description +- category – store defined category +- price – price in ZANO +- img-url – ipfs/arweave link to offer image +- contact – preferred way of communication (telegram, email, zano alias) +- comments -additional comments about the offer + +### Action "escrow" + +Example of **escrow** command: + +**zano\:action +\=escrow\&description='Some Description'\&seller\_address='ZxCXALhZRodKmqRCWUPNAUCXqprJBNKv4eFsjzcMooAGVM6J2U2vSyTNpxNybwBnvzGWLtSWpBiddSZhph8HNfBn1bVE3c6ix'\&amount='10'\&my\_deposit='5'\&seller\_deposit='5'\&comment='Some comment if needed'** + +**Escrow parameters:** + +- description – Escrow description +- seller\_address – Address of the wallet that have to accept/reject this offer +- amount – Total amount of the deal (not include security deposits) +- my\_deposit – amount of coins that buyer put as a deposit +- seller\_deposit – amount of coins that seller supposed to put as a deposit if he accept escrow +- comment – any comments regarding this deal + +All mentioned information will be encrypted and won't be available for third party. diff --git a/docs/stake/estimating-pos-earning.md b/docs/stake/estimating-pos-earning.md deleted file mode 100644 index 248b8ab..0000000 --- a/docs/stake/estimating-pos-earning.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -sidebar_position: 3 ---- - -# Estimating Rewards - -Proof-of-stake earnings depend on current PoS difficulty and the number of coins you have locked for staking. The more coins you stake, the better chance you have to “win” the right to sign the next PoS block. Of course, it’s important to estimate your chances and predict how much you can earn in some way. Here is the most straightforward way to do so. - -First, we need to get the current PoS difficulty, which can be found in the [block explorer](https://explorer.zano.org/). This value is then divided by $1000000000000 = 10^{12}$, which in the Zano network is one coin basis. - -Second, we again divide it by 288. This operation lets us take the PoS mining timestamp frame into account. Without further details, this factor provides hash variety in PoS mining and can be somewhere between 256 and 320. It’s reasonable to use the value of 288 here. - -Now we have an estimation of how many coins participate in PoS mining currently as: - -$$ -C = D_{PoS} \thinspace / \thinspace 288 \thinspace / \thinspace 10^{12} = D_{PoS} \cdot 2.88 \cdot 10^{-14} -$$ - -where $C$ is the total amount of coins participating in PoS mining, and $D_{PoS} \thinspace$ is the current PoS difficulty. - -As you may know, the Zano network emits an average of 1 coin each minute with a 50-50 spread between PoS and PoW. That makes it 720 potential PoS reward coins per day. So if you owned all the coins in PoS, that could be your total day earnings. And if you divide $C$ by 720, you will get the number of coins you need to mine 1 Zano coin a day. Now, you can estimate the number of coins you will earn as: - -$$ -E_{daily} = \frac{720 \cdot N}{C} \approx \frac{2.07 \cdot 10^{17} \cdot N}{D_{PoS}} -$$ - -where $\thinspace E_{daily} \thinspace$ is the estimated number of coins you'll earn per day, and $N$ is the number of coins you're staking. - -Please keep in mind that all the above is an expectation and can vary heavily. diff --git a/docs/stake/proof-of-stake-mining.md b/docs/stake/proof-of-stake-mining.md index 539aa02..e44f6a2 100644 --- a/docs/stake/proof-of-stake-mining.md +++ b/docs/stake/proof-of-stake-mining.md @@ -2,12 +2,91 @@ sidebar_position: 1 --- -# Proof of Stake Mining +# Staking Zano -Proof of stake mining or staking is typically implemented in such way that a random coin owner obtains the right to sign a new block. Zano PoS implementation keeps miners in full anonymity and is as simple as a push of a button, literally. +Proof-of-stake mining or staking is typically implemented in such a way that a random coin owner obtains the right to sign a new block. Zano PoS implementation keeps miners in full anonymity and is as simple as a push of a button. -Open Zano app, make sure the blockchain is synchronised and turn on `Staking` switch. +## Benefits of Zano Staking -![alt proof-of-stake-mining](../../static/img/mine/proof-of-stake-mining/proof-of-stake-mining.png "proof-of-stake-mining")
Proof-of-stake mining
+- 100% Anonymous: Your staked balance always remains hidden thanks to our [Zarcanum Technology.](https://docs.zano.org/docs/learn/zano-features/overview#zarcanum-anonymous-proof-of-stake) -You can observe your progress in the `Staking` tab of your staking wallet. The amount of earnings depends on the wallet balance. Note that funds, that participate in proof-of-stake will be locked. When you turn `Staking` off, balance will get unlocked right away. You can switch `Staking` on and off without any limitations. +- No lock-ups: Unstake your coins at any chosen time. + +- No minimum amounts: Stake any amount of ZANO you want. + +- Truly decentralized: Anyone can start staking. There are **no** validators or special nodes. + +- No slashing. + +- Easy-to-use: Flip the switch and start staking. + +The only requirement is to run a Zano node (currently, this can only be done on a desktop device). The Zano desktop wallet automatically functions as a Zano node. + +There is no "delegation" function in Zano Staking, as we believe that it goes against network decentralization, and running a Zano node takes very few resources. + +## How to Stake Zano + +Simply open the Zano desktop wallet, make sure the blockchain is synchronised, and turn on the `Staking` switch. + +```mdx-code-block +
+