Merge pull request #5 from Gonbatfire/main
Staking guide, Re-made What is Zano, Overview. Solo Mining fixes, added missing alt text
This commit is contained in:
commit
25d70c346e
15 changed files with 412 additions and 81 deletions
|
|
@ -4,20 +4,34 @@ sidebar_position: 1
|
|||
|
||||
# What is Zano
|
||||
|
||||
In today's digital landscape, where the value of privacy is ever-increasing, Zano stands out by offering a dedicated platform focused on confidentiality and security. As an open-source cryptocurrency and ecosystem, Zano blends enterprise-grade privacy with top-tier security and scalability. Crafted for mass adoption, Zano is not just another name in the blockchain space but a robust foundation for the next generation of confidential assets and decentralized applications.
|
||||
Zano is an open-source cryptocurrency (layer-1) and ecosystem with enterprise-grade privacy, security, and scalability that operates as a robust foundation for confidential assets and decentralized applications (dApps). In short, people can build all kinds of privacy-focused dApps on Zano utilizing our unique features such as Confidential Assets, Escrow Contracts, Aliases, and more.
|
||||
|
||||
**Privacy Pioneers**: Originating from the Cryptonote protocol, Zano is its advanced evolution, emphasizing unparalleled privacy.
|
||||
On Zano everything is private by default, meaning people can’t see the amount transacted, the addresses involved, and not even the asset type transacted.
|
||||
|
||||
**Hybrid PoW/PoS Consensus**: By uniting the strengths of both Proof of Work and Proof of Stake processes, Zano delivers enhanced security, curbing double-spend vulnerabilities.
|
||||
As illustrated in the image below, all you can see is that a transaction happened. Transactions are verifiable for the sender/receiver through transaction ID’s.
|
||||
|
||||
**Core Performance**: Zano's asynchronous core is a testament to computational efficiency, ensuring forward/backward compatibility and a modular approach ready for the crypto realm's challenges.
|
||||

|
||||
|
||||
### Technologies
|
||||
|
||||
Zano’s lead developer Andrey Sabelnikov created the first-ever privacy coin protocol code base named CryptoNote. Today, this protocol is used by Monero and hundreds of other projects.
|
||||
|
||||
Zano is the advanced evolution of Cryptonote, emphasizing unparalleled privacy and adopting a wide variety of technologies that can be used to create all kinds of privacy-focused decentralized applications (dApps) and other projects.
|
||||
|
||||
Here are they summed up:
|
||||
|
||||
**Zarcanum**: A hallmark of Zano, introducing the world's first hidden amounts Proof of Stake scheme, shaping a novel benchmark in blockchain consensus.
|
||||
|
||||
**Confidential Assets**: Beyond the Zano coin, our platform enables tokens that carry the weight of complete privacy, mirroring all the functionalities of the Zano coin itself.
|
||||
**Confidential Assets**: Beyond the Zano coin, our platform enables user-creatable privacy tokens that possess all the features and functionalities of the native coin, ensuring complete transactional privacy.
|
||||
|
||||
**Ionic Swaps**: In Zano's ecosystem, users can smoothly switch between different crypto assets, all while maintaining the essence of privacy.
|
||||
**Ionic Swaps**: In Zano's ecosystem, users can smoothly trade between different crypto assets, all while maintaining the essence of privacy.
|
||||
|
||||
Additionally, with features like the dynamic [Marketplace API](https://docs.zano.org/docs/build/marketplace/marketplace-api-guide), adaptable Escrow/P2P Contracts, and an array of projects nurtured on Zano's foundation, our platform offers diverse opportunities for developers, traders, and all who value privacy in the digital age.
|
||||
**Hybrid PoW/PoS Consensus**: By uniting the strengths of both Proof of Work and Proof of Stake processes, Zano delivers enhanced security, curbing double-spend vulnerabilities.
|
||||
|
||||
Discover Zano, where digital privacy isn't just an idea but a tangible reality.
|
||||
**Auditable Wallets:** An opt-in feature that enables people and organizations to create transparent wallets for situations where we would rather verify than trust. Creating auditable wallets doesn’t affect the privacy of the Zano network in any way.
|
||||
|
||||
**Core Performance**: Zano's asynchronous core is a testament to computational efficiency, ensuring forward/backward compatibility and a modular approach ready for the crypto realm's challenges.
|
||||
|
||||
Additionally, with features like the dynamic [Marketplace API](https://docs.zano.org/docs/build/marketplace/marketplace-api-guide), adaptable [Escrow/P2P Contracts](https://docs.zano.org/docs/use/escrow-contracts/), and an array of projects nurtured on Zano's foundation, our platform offers diverse opportunities for developers, traders, and all who value privacy in the digital age.
|
||||
|
||||
Zano is constantly innovating, so make sure to check our [roadmap](https://zano.org/roadmap) as well as our [Frequent Asked Questions](https://docs.zano.org/docs/learn/frequently-asked-questions) page.
|
||||
|
|
|
|||
|
|
@ -1,60 +1,103 @@
|
|||
# Overview
|
||||
|
||||
## Zano’s Values
|
||||
|
||||
### Privacy
|
||||
|
||||
Zano is completely private by default, making use of stealth
|
||||
addresses, ring signatures, and from the moment we perform our Zarcanum
|
||||
hardfork, also RingCT.
|
||||
Zano has privacy by default throughout its entire network at the base layer (protocol level) ensuring your data remains secure. Only you decide what you’d like to reveal.
|
||||
|
||||
### Security
|
||||
|
||||
Our blockchain is protected by our custom hybrid PoW/PoS
|
||||
consensus algorithm, pairing the advantages of each process to create a
|
||||
highly secure platform. This makes the system less prone to double-spend
|
||||
attacks, improving overall security.
|
||||
Our hybrid PoW/PoS consensus algorithm makes attacks on Zano infeasible, ensuring the highest security standard for launching your asset or dApp on Zano’s ecosystem.
|
||||
|
||||
### Scalability
|
||||
### Stability
|
||||
|
||||
Achieving computational excellence with forward/backward
|
||||
compatibility, modular design, and an asynchronous core. This makes our
|
||||
blockchain scalable and ready to handle high volumes of traffic.
|
||||
The extensive amount of testing that our blockchain has undergone minimizes the issues often encountered in the early days of any project. This makes the Zano network stable and release-ready from day 1. Our decade of experience with both Boolberry and Zano commences this.
|
||||
|
||||
### Zarcanum
|
||||
### Decentralization
|
||||
|
||||
World’s first Proof of Stake scheme that enhances traditional PoS with untraceability and hidden amounts, revolutionising blockchain consensus.
|
||||
When we say decentralization we mean it, Zano is truly decentralized as anyone can participate in the network, and nobody has an unfair advantage. There are no validator nodes (master nodes), no minimum staking amounts, and no lock-up times. Whether you are a miner, a staker, or a user, **Zano is for everyone**.
|
||||
|
||||
### Confidential Assets
|
||||
### Easy-to-Use
|
||||
|
||||
Anyone can easily issue their own currencies and digital tokens on the Zano chain; assets secured by the same mechanisms
|
||||
that make Zano so much more secure than first-generation cryptocurrencies,
|
||||
namely hidden addresses, hidden amounts and IP obfuscation.
|
||||
From our wide variety of wallets to our documentation and to our products, we always keep the end user in mind ensuring a good user experience to drive adoption of the Zano blockchain.
|
||||
|
||||
### Ionic Swaps
|
||||
## Technologies
|
||||
|
||||
An improvement on Atomic Swaps, innovating seamless cryptocurrency exchanges while preserving user privacy.
|
||||
Zano has developed and adopted a wide variety of technologies that can be used to create all kinds of privacy-focused decentralized applications (dApps) and other projects. These technologies make Zano truly different from other projects and are summed below.
|
||||
|
||||
### Marketplace API
|
||||
Zano hasn’t forked from any project and has been built from scratch, all of our technologies are backed by research papers that you can find [here](https://docs.zano.org/docs/learn/whitepaper).
|
||||
|
||||
Explore our dynamic API, facilitating a seamless integration into the marketplace ecosystem. This feature allows anyone to spin up their own decentralized marketplace.
|
||||
### Network Security: Hybrid PoW/PoS Consensus Algorithm
|
||||
|
||||
Zano uses a hybrid consensus algorithm that alternates between Proof-of-Work (PoW) and Proof-of-Stake (PoS) blocks. It incorporates the world’s first Proof-of-Stake scheme with hidden amounts. This approach combines the benefits of both mechanisms to enhance blockchain security and decentralization. If performing a 51% attack on Zano, one would need the majority of the hash rate **and** a significant amount of the total amount of staked coins, making the cost of an attack incredibly high, resulting in the attack becoming infeasible.
|
||||
|
||||
### Untraceable Transactions
|
||||
|
||||
The transactions between Zano network members are made untraceable with the help of several technologies, most importantly **d/v-CLSAG Ring Signatures** and **Stealth Addresses.** Also, the way transaction data is stored on the blockchain allows access by parties who authorized the transactions only, and none of the private data is ever publicly published.
|
||||
|
||||
### Amount Privacy
|
||||
|
||||
A secure scheme with a set of proofs allows for the concealment of the amount of coins transferred. The **Bulletproofs+** technology is used for these proofs, enabling the creation of both performance-effective and size-effective proofs. These ensure that the sum and type of the inputs match the sum and type of the outputs, without revealing the actual details.
|
||||
|
||||
### Escrow Contracts
|
||||
|
||||
Our escrow service empowers users with customizable contracts in a trustless environment, secured by deposits to deter
|
||||
malfeasance.
|
||||
|
||||
### Staking
|
||||
|
||||
Our implementation of Proof of Stake is as egalitarian as it can be. There is no minimum staking amount, so anyone can participate, contributing
|
||||
to our vision of having a highly decentralized ecosystem that anyone can use.
|
||||
With Zano’s Escrow Contracts, users can create fully customizable contracts, which essentially allow for any agreement conditions to be followed by all parties in a trustless way without any intermediary involvement. When using escrow contracts, a deposit is required from all parties involved as a financial incentive to alleviate any malicious activity—peer-to-peer settlements in its purest form.
|
||||
|
||||
### Aliases
|
||||
|
||||
All Zano network users can create aliases, for example: @username. These aliases can be linked to a payment address, which makes
|
||||
our network more user friendly. In the long run, aliases will be used in a
|
||||
dedicated messenger, a user reputation service, and an alias-based
|
||||
authentication system.
|
||||
All Zano network users can create aliases, for example: @username. These aliases provide a short, easy-to-remember name rather than a long string of characters that form a blockchain address. Aliases will be used in a dedicated messenger, a user reputation service, and an alias-based authentication system that can connect to the dApps running on Zano’s ecosystem.
|
||||
|
||||
### Auditable wallets
|
||||
### Marketplace API
|
||||
|
||||
Auditable wallets give people and organizations the option to create transparent wallets for situations where we would rather verify than
|
||||
trust.
|
||||
You create, update, or deactivate on-chain offers with the Zano Marketplace API. Offers contain information about a user who is selling or buying something. As soon as an offer is published in the blockchain it is visible to everyone. This feature allows anyone to spin up their own decentralized online stores.
|
||||
|
||||
### Ionic Swaps
|
||||
|
||||
Ionic Swaps are an improvement on Atomic Swaps, innovating seamless cryptocurrency exchanges while preserving user privacy. Ionic Swaps are a safe and consistent way to perform peer-to-peer swaps in which neither party has an unfair advantage. This technology is used by the DEX and for instant swaps.
|
||||
|
||||
### Zarcanum: Anonymous Proof of Stake
|
||||
|
||||
Zano incorporates the world’s first Proof of Stake scheme that enhances traditional PoS with untraceability and hidden amounts, revolutionizing blockchain consensus. Thanks to this innovative approach our stakers can stake in complete anonymity. A first in all of crypto.
|
||||
|
||||
### Auditable Wallets
|
||||
|
||||
Auditable wallets allow people and organizations to create transparent wallets for situations where we would rather verify than trust. Creating auditable wallets doesn’t affect the privacy of the Zano network in any way.
|
||||
|
||||
### Confıdential Assets
|
||||
|
||||
Anyone can easily issue user-creatable privacy tokens on the Zano chain; assets secured by the same mechanisms that make Zano so much more secure than
|
||||
|
||||
first-generation cryptocurrencies, namely because of hidden addresses and hidden amounts. This unique technology can be used to create private stablecoins, shielded versions of existing assets, and much more, without the overhead of having to create, manage, and secure your own blockchain.
|
||||
|
||||
## Products
|
||||
|
||||
All of the above-named technologies can be used to create all kinds of privacy-focused, decentralized applications (dApps). Below you can find examples of the products we created with these technologies, but of course, others can use these technologies as well to develop on Zano.
|
||||
|
||||
### Zano Trade: P2P Cryptocurrency Trading Platform
|
||||
|
||||
The Localbitcoins-like trading app will utilize Zano's built-in escrow contracts to eliminate the need for a third party in the trade settlement process. The escrow contract will require both parties to lock up collateral until the trade is concluded, thereby creating a financial incentive for both sides to cooperate. Any crypto, and even fiat, can be traded natively on this platform.
|
||||
|
||||
### Zano Trade: Decentralized Exchange
|
||||
|
||||
A decentralized exchange to trade native Zano and all the Confidential Assets launched on Zano’s ecosystem. Zano Trade requires no user registration and uses an on-chain order matching system to facilitate Ionic Swaps between native Zano and the Confidential Assets. It is impossible to see what asset type, amount, or address was involved in the transaction.
|
||||
|
||||
### Zano Governance System
|
||||
|
||||
Zano Governance is an anonymous on-chain voting system where our stakers who secure the network can vote on major decisions regarding the Zano blockchain, further decentralizing the Zano ecosystem.
|
||||
|
||||
### Zano Wallets
|
||||
|
||||
Zano has a variety of wallets available for every type of user:
|
||||
|
||||
- Desktop Wallet: A full-node wallet that gives you access to all of our features, including staking.
|
||||
|
||||
- Mobile Wallet: A remote-node wallet that supports all of our features except stak- ing, ready for instant use that fits in your pocket.
|
||||
|
||||
- Lite Wallet \[IN PROGRESS]: A lightweight, easy-to-use wallet that is ideal for daily usage of small transactions and uses a remote node.
|
||||
|
||||
- Third-Party Wallets \[IN PROGRESS]: Zano is getting integrated into various popular multi-asset wallets such as Cake Wallet and the [Bitcoin.com](file:///C:/Users/gonbat/AppData/Local/Temp/msohtmlclip1/01/clip_filelist.xml) wallet.
|
||||
|
||||
### Zano Companion
|
||||
|
||||
A Metamask-like browser extension that enables authentication and connects the Zano desktop wallet to the web applications built on Zano. Zano Companion is your gateway to the broader Zano ecosystem!
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ sidebar_position: 1
|
|||
|
||||
Zano uses ProgPoWZ for its mining algorithm, it's ASIC-resistant which means that it can only be mined using graphics cards.
|
||||
|
||||
The best way to support and further decentralize the network is to solo-mine it, we have prepared a guides to help you get started.
|
||||
The best way to support and further decentralize the network is to solo-mine it, we have prepared guides to help you get started.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ A 2GB graphic card is required for GPU mining.
|
|||
|
||||
:::
|
||||
|
||||
## Windows Solo Mining guide
|
||||
## Solo Mining in Windows (AMD & NVIDIA)
|
||||
|
||||
### Step 1: Set up the Zano node
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
# Linux (AMD)
|
||||
|
||||
<div align="center">
|
||||
<img src="/img/mine/solo-mining-guides/zano_icon.png" width="400" />
|
||||
<h1>Solo Mining with AMD (Ubuntu)</h1>
|
||||
</div>
|
||||
## Solo Mining in Ubuntu (AMD)
|
||||
|
||||
## Step 1: Synchronize the Daemon
|
||||
### Step 1: Synchronize the Daemon
|
||||
|
||||
Open a terminal in the directory with `zanod`, and run it: [^1]
|
||||
|
||||
|
|
@ -15,7 +12,7 @@ Open a terminal in the directory with `zanod`, and run it: [^1]
|
|||
|
||||
Allow the daemon to synchronize, while we complete other steps.
|
||||
|
||||
## Step 2: Install Wildrig Miner[^2]
|
||||
### Step 2: Install Wildrig Miner[^2]
|
||||
|
||||
Open another terminal within the same directory. Create a new directory for Wildrig and enter it:
|
||||
|
||||
|
|
@ -39,7 +36,7 @@ rm wildrig-multi-linux-0.36.6b.tar.xz
|
|||
|
||||
Leave this directory open; we'll return to it soon.
|
||||
|
||||
## Step 3: AMD Driver Installation
|
||||
### Step 3: AMD Driver Installation
|
||||
|
||||
Since Ubuntu doesn't come with AMD's OpenCL driver, which is necessary for mining, you'll need to install that. But it also requires ****very**** specific AMD driver software (22.40): we've found no other that successfully installs.
|
||||
|
||||
|
|
@ -96,7 +93,7 @@ Since Ubuntu doesn't come with AMD's OpenCL driver, which is necessary for minin
|
|||
<img src="/img/mine/solo-mining-guides/amd-clinfo.png" width="800" />
|
||||
</div>
|
||||
|
||||
## Step 4: Starting Wildrig Miner
|
||||
### Step 4: Starting Wildrig Miner
|
||||
|
||||
Once your node is fully synced, stop it (ctl+c). In the same terminal, restart `zanod` with the following flags, substituting your wallet address for "<YOUR_WALLET_ID>"
|
||||
|
||||
|
|
@ -135,7 +132,7 @@ And if you switch to the terminal with your daemon running, you should now see t
|
|||
<h1>Congratulations, you're solo mining Zano!</h1>
|
||||
</div>
|
||||
|
||||
[^1]: This guide assumes you have already installed, and can use, a CLI wallet and its daemon. If you haven't, see those guides [here](https://docs.zano.org/docs/install-a-zano-cli-wallet-ubuntu) and [here](https://docs.zano.org/docs/using-a-zano-cli-wallet), respectively.
|
||||
[^1]: This guide assumes you have already installed, and can use, a CLI wallet and its daemon. If you haven't, see those guides [here](https://docs.zano.org/docs/install-zano-cli-wallet-ubuntu) and [here](https://docs.zano.org/docs/using-zano-cli-wallet), respectively.
|
||||
|
||||
[^2]: Be aware that Wildrig has a 1.0% fee.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,8 @@
|
|||
# Linux (NVIDIA)
|
||||
|
||||
<div>
|
||||
## Solo Mining in Ubuntu (NVIDIA)
|
||||
|
||||
<div align="center">
|
||||
<img src="/img/mine/solo-mining-guides/zano_icon.png" width="400" />
|
||||
<h1>Solo Mining with Nvidia</h1>
|
||||
</div>
|
||||
|
||||
## Step 1: Synchronize the Daemon
|
||||
### Step 1: Synchronize the Daemon
|
||||
|
||||
Open a terminal in the directory with `zanod`, and run it: [^1]
|
||||
|
||||
|
|
@ -17,7 +12,7 @@ Open a terminal in the directory with `zanod`, and run it: [^1]
|
|||
|
||||
Allow the daemon to synchronize, while we complete other steps.
|
||||
|
||||
## Step 2: Install TT-Miner
|
||||
### Step 2: Install TT-Miner
|
||||
|
||||
Open another terminal within the same director, and download TT-Miner application:
|
||||
|
||||
|
|
@ -52,7 +47,7 @@ Note the contents. They provide the basic instructions for setting up TT-Miner (
|
|||
|
||||
Exit Nano (`ctl+x`), but leave the terminal and directory open; we'll return to it soon.
|
||||
|
||||
## Step 3: Nvidia Driver Installation
|
||||
### Step 3: Nvidia Driver Installation
|
||||
|
||||
Since Ubuntu uses all open source drivers, you may need to install the proper proprietary Nvidia driver (for use with Cuda below). To determine which FOSS driver you may have, and which proprietary driver is recommended, give the command:
|
||||
|
||||
|
|
@ -89,7 +84,7 @@ If you wish to check on the installation, give:
|
|||
nvcc --version
|
||||
```
|
||||
|
||||
## Step 4: Starting TT-Miner
|
||||
### Step 4: Starting TT-Miner
|
||||
|
||||
Once your node is fully synced, stop it (`ctl+c`). In the same terminal, restart `zanod` with the following flags, taken from the above `ZANO-SOLO.sh` file:
|
||||
|
||||
|
|
@ -144,8 +139,6 @@ And if you switch to the terminal with your daemon running, you should now see t
|
|||
<h1>Congratulations, you're solo mining Zano!</h1>
|
||||
</div>
|
||||
|
||||
[^1]: This guide assumes you've already installed, and can use, a CLI wallet and its daemon. If you haven't, see those guides [here](https://docs.zano.org/docs/install-a-zano-cli-wallet-ubuntu) and [here](https://docs.zano.org/docs/using-a-zano-cli-wallet), respectively.
|
||||
[^1]: This guide assumes you've already installed, and can use, a CLI wallet and its daemon. If you haven't, see those guides [here](https://docs.zano.org/docs/use/wallets/install-zano-cli-wallet-ubuntu) and [here](https://docs.zano.org/docs/use/wallets/using-zano-cli-wallet-ubuntu), respectively.
|
||||
|
||||
[^2]: If you get the following error, you'll need to install Cuda: `./TT-Miner: error while loading shared libraries: libcuda.so.1: cannot open shared object file: No such file or directory.`
|
||||
|
||||
</div>
|
||||
|
|
|
|||
254
docs/stake/stake-zano-on-boot.mdx
Normal file
254
docs/stake/stake-zano-on-boot.mdx
Normal file
|
|
@ -0,0 +1,254 @@
|
|||
# Guide: Stake Zano automatically on system startup
|
||||
|
||||
## Introduction
|
||||
|
||||
Staking is an important aspect of Zano, users should be able to effortlessly stake their Zano upon system startup without any intervention, for this we’ll use PM2. PM2 makes it possible to daemonize applications so that they will run in the background as a service.
|
||||
|
||||
## Install Node.js & NPM
|
||||
|
||||
We’ll also need Node.js, Installing Node.js and NPM is super easy, simply head over to the download page and download the relevant version, their website allows you to download Node.js the way you want.
|
||||
|
||||
### Windows
|
||||
|
||||
Download Node.js from [https://nodejs.org/en/download/prebuilt-installer](https://nodejs.org/en/download/prebuilt-installer), NPM is included by default.
|
||||
|
||||
Alternatively, we can download it from a repository if using Linux:
|
||||
|
||||
### Linux
|
||||
|
||||
#### How to Install Node.js and NPM from Ubuntu repository
|
||||
|
||||
```
|
||||
sudo apt update
|
||||
```
|
||||
|
||||
```
|
||||
sudo apt install nodejs npm
|
||||
```
|
||||
|
||||
#### How to Install Node.js and NPM on Arch based distro
|
||||
|
||||
```
|
||||
sudo pacman -S npm nodejs
|
||||
```
|
||||
|
||||
You can now type the following to ensure they’re installed and check version:
|
||||
|
||||
```
|
||||
node -v
|
||||
```
|
||||
|
||||
```
|
||||
npm -v
|
||||
```
|
||||
|
||||
## Install the latest version of PM2 using NPM
|
||||
|
||||
### Windows
|
||||
|
||||
Press your Windows key and search for "Powershell" and hit enter to open the terminal, paste the following command, hit enter to run it:
|
||||
|
||||
```
|
||||
npm install pm2@latest -g
|
||||
npm install pm2-windows-startup -g
|
||||
pm2-startup install
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
```
|
||||
sudo npm install pm2@latest -g
|
||||
```
|
||||
|
||||
## Get the Zano Binaries
|
||||
|
||||
We need to get the zanod and simplewallet binaries in order to run things in CLI mode.
|
||||
|
||||
### Windows
|
||||
|
||||
Head to [https://zano.org/downloads](https://zano.org/downloads), download the .ZIP file for Windows and extract it in a folder.
|
||||
|
||||
### Linux
|
||||
|
||||
Binaries can be extracted from the AppImage available on [https://zano.org/downloads](https://zano.org/downloads) or the GitHub repository, see the following steps to extract from the AppImage:
|
||||
|
||||
1. Go to the folder containing the Zano wallet AppImage file and mark it as executable by right-clicking it: `Properties > Permissions > 'Allow executing file as program'`
|
||||
|
||||
2. Rename the file to `zano-linux.AppImage`
|
||||
|
||||
3. Open a terminal inside that same folder and type the following command:
|
||||
|
||||
```
|
||||
./zano-linux.AppImage --appimage-mount
|
||||
```
|
||||
|
||||
Which will then show you a temp mountpoint, this will look something like:
|
||||
|
||||
`/tmp/.mount_zano-lHATDRi`
|
||||
|
||||
2. Navigate to this folder, (you may need to check **‘show hidden files’**) then go to the `usr > bin` folder and copy zanod and simplewallet to a folder of your choosing.
|
||||
|
||||

|
||||
|
||||
## Set your Zano CLI wallet
|
||||
|
||||
Open a terminal (PowerShell on Windows) from the folder containing the zanod and simplewallet binaries (Extracted .zip on Windows).
|
||||
|
||||
:::info How to open PowerShell from inside a folder on Windows
|
||||
|
||||
Open the folder, then while holding `shift-key`, right-click on an empty space inside the folder and select `Open PowerShell window here`.
|
||||
|
||||
:::
|
||||
|
||||
Inside the terminal paste the following command (change example.wallet to a name for your wallet file):
|
||||
|
||||
```
|
||||
./simplewallet --restore-wallet example.wallet
|
||||
```
|
||||
|
||||
You will be prompted to create a password for it, once you do, it will ask you to enter your wallet's seedphrase.
|
||||
|
||||
Exit simplewallet by pressing `Ctrl key` and `C`
|
||||
|
||||
## Automate processes with PM2
|
||||
|
||||
Now we want to start both zanod and simplewallet using PM2 process manager.
|
||||
|
||||
### Start zanod
|
||||
|
||||
Inside the previously opened terminal, paste the following commands: 
|
||||
|
||||
#### Windows
|
||||
|
||||
```
|
||||
pm2 start zanod.exe
|
||||
```
|
||||
|
||||
#### Linux
|
||||
|
||||
```
|
||||
pm2 start zanod
|
||||
```
|
||||
|
||||
### Start simplewallet
|
||||
|
||||
In the command below, replace `example.wallet` and `<password> `with your corresponding ones.
|
||||
|
||||
#### Windows
|
||||
|
||||
```
|
||||
pm2 start simplewallet.exe -- start -- --wallet-file example.wallet --password <password> --rpc-bind-ip 127.0.0.1 --rpc-bind-port 11212 --daemon-address 127.0.0.1:11211 --do-pos-mining
|
||||
```
|
||||
|
||||
:::info
|
||||
|
||||
The error: `Script not found: ...\start` is expected, you can ignore it.
|
||||
|
||||
:::
|
||||
|
||||
#### Linux
|
||||
|
||||
```
|
||||
pm2 start simplewallet -- --wallet-file example.wallet --password <password> --rpc-bind-ip 127.0.0.1 --rpc-bind-port 11212 --daemon-address 127.0.0.1:11211 --do-pos-mining
|
||||
```
|
||||
|
||||
### PM2 tips
|
||||
|
||||
Now both of our processes are daemonized and running in the background at all times, we can monitor and manage our processes, using the following commands:
|
||||
|
||||
```
|
||||
pm2 list
|
||||
```
|
||||
|
||||
```
|
||||
pm2 monit
|
||||
```
|
||||
|
||||
```
|
||||
pm2 stop <ID>
|
||||
```
|
||||
|
||||
```
|
||||
pm2 start <ID>
|
||||
```
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
This isn't an extensive howto on PM2, check here to learn more on PM2:
|
||||
|
||||
[https://devhints.io/pm2](https://devhints.io/pm2)
|
||||
|
||||
[https://pm2.keymetrics.io/docs/usage/quick-start/](https://pm2.keymetrics.io/docs/usage/quick-start/)
|
||||
|
||||
## Persist processes to run on startup
|
||||
|
||||
In order to persist zanod and simplewallet to auto-run on startup, run the following command:
|
||||
|
||||
#### Windows
|
||||
|
||||
```
|
||||
pm2 save
|
||||
```
|
||||
|
||||
#### Linux
|
||||
|
||||
```
|
||||
pm2 save
|
||||
```
|
||||
|
||||
```
|
||||
pm2 startup
|
||||
```
|
||||
|
||||
You may then be prompted to enter another command by PM2, copy and paste this command:
|
||||
|
||||

|
||||
|
||||
It will look something like:
|
||||
|
||||
`sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u anon --hp /home/anon`
|
||||
|
||||
**Yours will differ, use the command you are given.**
|
||||
|
||||
### How to disable run on startup
|
||||
|
||||
In case you no longer want the process to start on boot, use the following commands
|
||||
|
||||
#### Windows
|
||||
|
||||
```
|
||||
pm2 cleardump
|
||||
pm2 save
|
||||
```
|
||||
|
||||
(To re-enable it you will need to follow the [steps](https://docs.zano.org/docs/stake/stake-zano-on-boot#automate-processes-with-pm2) to start zanod and simplewallet again)
|
||||
|
||||
#### Linux
|
||||
|
||||
```
|
||||
pm2 unstartup
|
||||
```
|
||||
|
||||
## Monitor your staking
|
||||
|
||||
Open `simplewallet.txt` inside the folder you have been working on to check your staking activity, it should look something like this (after your node finishes syncing):
|
||||
|
||||
`[Date/time] [RPC0][W:ZxDxxx] PoS mining: 0 iterations finished (0.00s), status: NOT_FOUND, 0 entries with total amount: 0.0`
|
||||
|
||||
## Things to note
|
||||
|
||||
**If you want to open your Zano desktop wallet (GUI)**, you will need to stop the processes otherwise your wallet will not start, you can start and stop the processes using the following commands:
|
||||
|
||||
```
|
||||
pm2 stop <ID>
|
||||
```
|
||||
|
||||
```
|
||||
pm2 start <ID>
|
||||
```
|
||||
|
||||
## Conclusion
|
||||
|
||||
You’re now staking your Zano, on system startup automatically.
|
||||
|
|
@ -16,7 +16,7 @@ It's your gateway to the broader Zano ecosystem!
|
|||
|
||||
3. Right-click to copy the secret that will be displayed.
|
||||
|
||||

|
||||

|
||||
|
||||
4. Open your browser and install the Zano Companion extension from the Chrome Web Store.[ \[Here\]](https://chromewebstore.google.com/detail/zano-companion/akcgnllhhhkcpmlenfpicmcpgfpindlb)
|
||||
|
||||
|
|
@ -24,14 +24,14 @@ It's your gateway to the broader Zano ecosystem!
|
|||
|
||||
6. You can now register an[ alias](https://app.dhub.dev/c/goncativas-projects/zano-docs/docs/use/aliases.md) if you haven't done so already, this will be displayed as your identity when using the Zano ecosystem.
|
||||
|
||||

|
||||

|
||||
|
||||
7. To connect to a Zano web application, simply click on its "Connect Wallet" button and select Zano Extension if asked.
|
||||
|
||||

|
||||

|
||||
|
||||
8. A popup will appear on the Companion to authorize the connection, you will only need to this on the first time.
|
||||
|
||||

|
||||

|
||||
|
||||
**And that's it! Welcome to the Zano Ecosystem!**
|
||||
|
|
|
|||
|
|
@ -13,7 +13,10 @@ It allows us access to the enormous existing infrastructure that exists around E
|
|||
The process of swapping ZANO to WZANO is referred to as “wrapping”. You can wrap ZANO from within any of the Zano mobile or desktop clients. Just go to the “Send” tab, enter the amount of ZANO you would like to receive and the Ethereum address to which you’d like the WZANO to be sent. You will be informed of how much Zano is required to cover the transaction fees before you finalize the transaction.
|
||||
|
||||
<figure style={{textAlign: 'center'}}>
|
||||
<img src={require('/img/use/wrapped-zano/wrap.png').default} />
|
||||
<img
|
||||
src={require('/img/use/wrapped-zano/wrap.png').default}
|
||||
alt="Desktop Zano wallet, "Send" tab, with Wrapped Zano tx details"
|
||||
/>
|
||||
</figure>
|
||||
|
||||
## How to unwrap WZANO
|
||||
|
|
@ -21,7 +24,10 @@ The process of swapping ZANO to WZANO is referred to as “wrapping”. You can
|
|||
Go to [https://wrapped.zano.org/app/](https://wrapped.zano.org/app/) connect your metamask wallet and specify the Zano address to which you want to receive ZANO. After that, you will be able to unwrap WZANO to ZANO. The process takes around 15 minutes and you will receive ZANO to your Zano address.
|
||||
|
||||
<figure style={{textAlign: 'center'}}>
|
||||
<img src={require('/img/use/wrapped-zano/unwrap.png').default} />
|
||||
<img
|
||||
src={require('/img/use/wrapped-zano/unwrap.png').default}
|
||||
alt="Unwrap Zano widget"
|
||||
/>
|
||||
</figure>
|
||||
|
||||
## Proof of Assets
|
||||
|
|
|
|||
|
|
@ -15,7 +15,10 @@ A decentralized exchange to trade native Zano and all the Confidential Assets la
|
|||
3. On the first time, a popup will appear on the Companion to authorize the connection, click "Accept".
|
||||
|
||||
<figure style={{textAlign: 'center'}}>
|
||||
<img src={require('/img/use/companion/sign_request.png').default} />
|
||||
<img
|
||||
src={require('/img/use/companion/sign_request.png').default}
|
||||
alt="Sign request pop-up in Zano Companion"
|
||||
/>
|
||||
</figure>
|
||||
|
||||
4. To do a trade, search and select the desired trading pair. 
|
||||
|
|
@ -23,7 +26,10 @@ A decentralized exchange to trade native Zano and all the Confidential Assets la
|
|||
If multiple tokens under the same/similar name exist, make sure to check their unique Asset ID.
|
||||
|
||||
<figure style={{textAlign: 'center'}}>
|
||||
<img src={require('/img/use/zano-trade/trading-pairs.png').default} />
|
||||
<img
|
||||
src={require('/img/use/zano-trade/trading-pairs.png').default}
|
||||
alt="Trading pairs selection in Zano Trade"
|
||||
/>
|
||||
</figure>
|
||||
|
||||
5. Now you can either post a buy/sell order or take an existing one.
|
||||
|
|
@ -39,7 +45,10 @@ _Amount:_ How many tokens do we want to acquire at this price?
|
|||
Click "Buy" to post the order.
|
||||
|
||||
<figure style={{textAlign: 'center'}}>
|
||||
<img src={require('/img/use/zano-trade/new_order1.png').default} />
|
||||
<img
|
||||
src={require('/img/use/zano-trade/new_order1.png').default}
|
||||
alt="Create buy order"
|
||||
/>
|
||||
</figure>
|
||||
|
||||
### Take an order
|
||||
|
|
@ -51,13 +60,19 @@ Scroll down to see the order book.
|
|||
Since we are happy with receiving 0.01 ZANO per token, we'll proceed to click "Take Order".
|
||||
|
||||
<figure style={{textAlign: 'center'}}>
|
||||
<img src={require('/img/use/zano-trade/order_book2.png').default} />
|
||||
<img
|
||||
src={require('/img/use/zano-trade/order_book2.png').default}
|
||||
alt="list of orders"
|
||||
/>
|
||||
</figure>
|
||||
|
||||
This will take us back above and automatically set the fields for our sell order, simply click "Sell".
|
||||
|
||||
<figure style={{textAlign: 'center'}}>
|
||||
<img src={require('/img/use/zano-trade/new_order2.png').default} />
|
||||
<img
|
||||
src={require('/img/use/zano-trade/new_order2.png').default}
|
||||
alt="Create sell order"
|
||||
/>
|
||||
</figure>
|
||||
|
||||
### Complete the trade
|
||||
|
|
@ -65,7 +80,10 @@ This will take us back above and automatically set the fields for our sell order
|
|||
Scroll down to see your list of pending orders.
|
||||
|
||||
<figure style={{textAlign: 'center'}}>
|
||||
<img src={require('/img/use/zano-trade/my_orders.png').default} />
|
||||
<img
|
||||
src={require('/img/use/zano-trade/my_orders.png').default}
|
||||
alt=""My Orders" list"
|
||||
/>
|
||||
</figure>
|
||||
|
||||
Since our order matches the one from @Timmy03, all that is left to do is click "Apply".
|
||||
|
|
@ -73,13 +91,19 @@ Since our order matches the one from @Timmy03, all that is left to do is click "
|
|||
This will open Zano Companion, prompting us to confirm the trade.
|
||||
|
||||
<figure style={{textAlign: 'center'}}>
|
||||
<img src={require('/img/use/zano-trade/ionic_swap1.png').default} />
|
||||
<img
|
||||
src={require('/img/use/zano-trade/ionic_swap1.png').default}
|
||||
alt="Confirm Ionic Swap, companion pop-up"
|
||||
/>
|
||||
</figure>
|
||||
|
||||
Now we wait for @Timmy03 to apply our order in the same way we just did.
|
||||
|
||||
<figure style={{textAlign: 'center'}}>
|
||||
<img src={require('/img/use/zano-trade/completed_trade.png').default} />
|
||||
<img
|
||||
src={require('/img/use/zano-trade/completed_trade.png').default}
|
||||
alt="Both wallets tx history showing the successful swap"
|
||||
/>
|
||||
</figure>
|
||||
|
||||
And that's it! We just completed a peer-to-peer trade, made possible by Zano's Ionic Swaps, preserving our privacy across the entire process.
|
||||
|
|
|
|||
BIN
static/img/learn/what-is-zano/transfer.png
Normal file
BIN
static/img/learn/what-is-zano/transfer.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 215 KiB |
BIN
static/img/stake/stake-on-boot-guide/extracted-zano-binaries.png
Normal file
BIN
static/img/stake/stake-on-boot-guide/extracted-zano-binaries.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
BIN
static/img/stake/stake-on-boot-guide/pm2-list.jpg
Normal file
BIN
static/img/stake/stake-on-boot-guide/pm2-list.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
BIN
static/img/stake/stake-on-boot-guide/pm2-monit.png
Normal file
BIN
static/img/stake/stake-on-boot-guide/pm2-monit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
BIN
static/img/stake/stake-on-boot-guide/pm2-startup.png
Normal file
BIN
static/img/stake/stake-on-boot-guide/pm2-startup.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 100 KiB |
Loading…
Add table
Reference in a new issue