diff --git a/digitalOcean/.DS_Store b/digitalOcean/.DS_Store new file mode 100644 index 0000000..c64a1c4 Binary files /dev/null and b/digitalOcean/.DS_Store differ diff --git a/digitalOcean/TomoChain/README.md b/digitalOcean/TomoChain/README.md new file mode 100644 index 0000000..7810794 --- /dev/null +++ b/digitalOcean/TomoChain/README.md @@ -0,0 +1,123 @@ +# Start a Tomochain masternode on DigitalOcean + +> Tomochain is a public EVM (Ethereum Virtual Machine)-compatible blockchain with the following advantages: low transaction fee, fast confirmation time, double validation and randomization for security guarantees. In particular, we propose Proof-of-Stake Voting (PoSV) consensus, a Proof-of-Stake (PoS)-based blockchain protocol with a fair voting mechanism, rigorous security guarantees and fast finality. We also present a novel reward mechanism and show that, with this mechanism, the blockchain has a low probability of forks, fast confirmation times, plus the contributions and benefits of masternodes are fair in the sense that the probability distribution function is uniform eventually. + +## What is needed + +### SSH Terminal + +- Windows: Recommend Putty, +- Mac OS: Using default terminal + +## Getting Started + +### Login + +If you already have DigitalOcean account, you can login into your account. + +### Sign up + +If you don't have DigitalOcean account, please sign up. + +## 1. Create Project + +![Create Project](https://s3.amazonaws.com/kaizen-images/github/create_project.png) + +## 2. Create Droplets + +![Create Droplet](https://s3.amazonaws.com/kaizen-images/github/create_droplet.png) + +### Droplets configuration + +- Choose an image + - Ubuntu 18.04 x 64 +- Choose a size + - CPU: 1 GB + - SSD: 25 GB + - Transfer: 1000 GB + - Price: $5 / month + +![Choose Image](https://s3.amazonaws.com/kaizen-images/github/choose_ipfs_image.png) + +- CPU Optimized Droplets (Skip) +- Add backups (Skip) +- Add block storage (Skip) +- Choose a datacenter region + - Bangalore + +![Choose Region](https://s3.amazonaws.com/kaizen-images/github/choose_region.png) + +- Select additional options (Skip) +- Add your SSH keys (Skip) +- Finalize and create + - Choose a hostname: *Type a name you'd like* or using default +- Click **Create** + +## 3. Connect to node + +After create the Droplets, you will receive the email include: + +- Droplet Name +- IP Address +- Username +- Password + +Using terminal/putty to connect the droplet node + +``` +$ ssh root@ +``` + +*NOTE: You must change your password at the first time you connect to the droplet node.* + +## 4. Installation + +Update Ubuntu + +``` +apt-get update +``` +Install Python3 + +``` +apt install python3 +``` + +Install Pip3 + +``` +apt install python3-pip +``` + +Install tmn ( Tomochain python kit ) + +``` + pip3 install tmn +``` + + +## 5. Download and build + +Get the necessary docker kit + +``` +curl -sSL https://get.docker.com/ | sh +``` + +Set up docker compose + +``` +sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose +``` + + + +### Start a testnet masternode + + + +``` +tmn start --name johnnyh --net testnet --pkey "private key" +``` + + diff --git a/digitalOcean/neo/README.md b/digitalOcean/neo/README.md new file mode 100644 index 0000000..aaf9ef8 --- /dev/null +++ b/digitalOcean/neo/README.md @@ -0,0 +1,188 @@ +# Setting up NEO on DigitalOcean + +> NEO is a non-profit community-driven blockchain project. It utilizes blockchain technology and digital identity to digitize assets and automate the management of digital assets using smart contracts. Using a distributed network, it aims to create a "Smart Economy". + +## What is needed + +### SSH Terminal + +- Windows: Recommend Putty, +- Mac OS: Using default terminal + +## Getting Started + +### Login + +If you already have DigitalOcean account, you can login into your account. + +### Sign up + +If you don't have DigitalOcean account, please sign up. + +## 1. Create Project + +![Create Project](https://s3.amazonaws.com/kaizen-images/github/create_project.png) + +## 2. Create Droplets + +![Create Droplet]( https://s3.amazonaws.com/kaizen-images/github/create_droplet.png) + +### Droplets configuration + +- Choose an image + - Ubuntu 18.04 x 64 +- Choose a size + - CPU: 1 GB + - SSD: 25 GB + - Transfer: 1000 GB + - Price: $5 / month + +![Choose Image](https://s3.amazonaws.com/kaizen-images/github/choose_ipfs_image.png) + +- CPU Optimized Droplets (Skip) +- Add backups (Skip) +- Add block storage (Skip) +- Choose a datacenter region + - Bangalore + +![Choose Region](https://s3.amazonaws.com/kaizen-images/github/choose_region.png ) + +- Select additional options (Skip) +- Add your SSH keys (Skip) +- Finalize and create + - Choose a hostname: *Type a name you'd like* or using default +- Click **Create** + +## 3. Connect to node + +After create the Droplets, you will receive the email include: + +- Droplet Name +- IP Address +- Username +- Password + +Using terminal/putty to connect the droplet node + +``` +$ ssh root@ +``` + +*NOTE: You must change your password at the first time you connect to the droplet node.* + +## 4. Installation + +Update ubuntu + +``` +apt-get update +``` + +Install Database + +``` +sudo apt-get install unzip libleveldb-dev sqlite3 libsqlite3-dev libunwind8-dev +``` +Please select 'Y' inorder to install + +We are using neo-python to setup everything so we need to install python3 and pip3 first + +Install python3 + +``` +apt install python3 +``` + +Install pip3 + +``` +apt install python3-pip +``` + + + +## 5. Download and build + +Create folder for NEO + +``` +git clone https://github.com/CityOfZion/neo-python.git +``` + +Change directory to NEO source + +``` +cd neo-python +``` + +Before we can install neo-python there are two libirary need to be installed first + +Openssl + +``` +apt-get install openssl +``` + + Libssl + +``` +apt-get install libssl-dev +``` + +Install neo-python + +``` +pip3 install neo-python +``` + +To speed up the syn process: + +Bootstrap the testnet blockchain + +``` +np-bootstrap +``` +``` +root@test:~/neo-python# np-bootstrap +This will overwrite any data currently in /root/.neopython/Chains/SC234. +Type 'confirm' to continue +[confirm]> +``` + +Bootstrap the testnet notifications database + +``` +np-bootstrap -n +``` + + + +### Start testnet and wallet creation + +Its easy to start NEO testnet now, just typing the following cmd + +``` +np-prompt +``` +And the output will showing the following message + +``` +root@test:~/neo-python# np-prompt +[I 181130 08:20:27 LevelDBBlockchain:112] Created Blockchain DB at /root/.neopython/Chains/SC234 +[I 181130 08:20:33 NotificationDB:73] Created Notification DB At /root/.neopython/Chains/Test_Notif +NEO cli. Type 'help' to get started +``` + +If you want to create a new wallet for NEO: + +``` +create wallet {your_wallet_name} +``` + +Open wallet + +``` +open wallet {your_wallet_name} +``` +NEO cli can reference here: https://github.com/CityOfZion/neo-python#running + diff --git a/digitalOcean/ontology/README.md b/digitalOcean/ontology/README.md new file mode 100644 index 0000000..ec01e13 --- /dev/null +++ b/digitalOcean/ontology/README.md @@ -0,0 +1,122 @@ +# Start a Ontology on DigitalOcean + +> Ontology is a new high-performance public blockchain project & a distributed trust collaboration platform. Ontology provides new high-performance public blockchains that include a series of complete distributed ledgers and smart contract systems. + +## What is needed + +### SSH Terminal + +- Windows: Recommend Putty, +- Mac OS: Using default terminal + +## Getting Started + +### Login + +If you already have DigitalOcean account, you can login into your account. + +### Sign up + +If you don't have DigitalOcean account, please sign up. + +## 1. Create Project + +![Create Project](https://s3.amazonaws.com/kaizen-images/github/create_project.png ) + +## 2. Create Droplets + +![Create Droplet](https://s3.amazonaws.com/kaizen-images/github/create_droplet.png) + +### Droplets configuration + +- Choose an image + - Ubuntu 18.04 x 64 +- Choose a size + - CPU: 1 GB + - SSD: 25 GB + - Transfer: 1000 GB + - Price: $5 / month + +![Choose Image](https://s3.amazonaws.com/kaizen-images/github/choose_ipfs_image.png) + +- CPU Optimized Droplets (Skip) +- Add backups (Skip) +- Add block storage (Skip) +- Choose a datacenter region + - Bangalore + +![Choose Region](https://s3.amazonaws.com/kaizen-images/github/choose_region.png ) + +- Select additional options (Skip) +- Add your SSH keys (Skip) +- Finalize and create + - Choose a hostname: *Type a name you'd like* or using default +- Click **Create** + +## 3. Connect to node + +After create the Droplets, you will receive the email include: + +- Droplet Name +- IP Address +- Username +- Password + +Using terminal/putty to connect the droplet node + +``` +$ ssh root@ +``` + +*NOTE: You must change your password at the first time you connect to the droplet node.* + +## 4. Installation + +Update Ubuntu + +``` +apt-get update +``` + + + +## 5. Download and build + +Get the necessary kit and installed + +``` +curl https://dev.ont.io/ontology_install | sh +``` + +Change directory to Ontology source + +``` +cd ontio +``` + +Get all Ontology CLI command + +``` +./ontology --help +``` + +### Start testnet and wallet creation + +Before you can start a node on Digital Ocean, you need to open up a wallet ( account ) + +``` +./ontology account add -d +``` + +Check your wallet address + +``` +./ontology account list +``` + +Now you can start a node ( testnet ) + +``` +./ontology --networkid 2 +``` +