Minimum system requirements:
2GB of RAM
2 vCPU
OS: Ubuntu 18.04 LTS
Go to the Privatix's releases page: https://github.com/Privatix/privatix/releases​
Choose the latest release (in this example the latest release is 1.0.1)
Execute the following script
wget https://github.com/Privatix/privatix/releases/download/1.0.1/privatix_ubuntu_x64_1.0.1_cli.deb &&sudo dpkg -i privatix_ubuntu_x64_1.0.1_cli.deb
This script will download and unpack the Privatix Network installer to the /opt/privatix_installer folder.
To install the application, execute the following script:
cd /opt/privatix_installer./install.sh​sudo apt-get install python./cli/install_dependencies.sh
After the application has been installed, you can create an offering:
export DAPP_PASSWORD=your_password​cd /opt/privatix_installer/cli &&python create_account.py
Backup location: /opt/privatix_installer/autooffer/mainnet/private_key.json
You can use the following script to download the backup:
scp your_username@host:/opt/privatix_installer/autooffer/mainnet/private_key.json ~
​https://docs.privatix.network/knowledge-base/how-to-get-prix​
Check that funds have been delivered:
python update_balance.pypython get_accounts.py
python transfer_all_to_marketplace.py
Ensure that PRIX has been transferred to the Marketplace (usually it takes 5-10 min):
python get_transactions.pypython get_accounts.py
nano ./offering.json
python publish_offering.py ./offering.json
Ensure that the offering has been published (usually it takes 5-10 min):
python get_offerings.py
Output example (expected status: registered):
Get agent offerings (product_id: 9234b192-e291-4116-a7d5-3c449c15167a, status: ['empty', 'registering', 'registered', 'popping_up', 'popped_up', 'removing', 'removed'], offset: 0, limit: 100)Ok: <Response [200]>--------------------------------------------------------------------------------​name:Hash: 0xda414c689c40b2369840d63755a0b2120252e4a8681851d0398e295c3cd64001Status: registeredSupply: 30Current supply: 30Id: 96a65e42-9828-40f6-b1b9-52cc0424896b
More information about the offer publication at https://github.com/Privatix/dappctrl/tree/release/1.0.1/scripts/cli​
In case of errors, you can see errors output by executing the following command:
python get_errors.py 60
Where 60 means "Give me all the errors in the last 60 minutes".
Transfer all tokens from the Marketplace to the Account
export DAPP_PASSWORD=your_password​cd /opt/privatix_installer/cli &&python transfer_all_to_account.py
Wait about 10-15 min and make sure the tokens have been transferred:
python get_transactions.pypython check_account.py
Restore your account in any Ethereum wallet (eg MyEtherWallet or Metamask)
Make sure you have a backup or you have already withdrawn all funds.
To remove the application, execute the following script:
cd /opt/privatix_installer &&./remove.sh &&sudo apt-get remove privatix