Astor Tiles

Running an Astor Node (~30 Minutes)

To use the Astor network, you need to download a node. For the initial implementation we chose to use Parity, an Ethereum client written in Rust. To install the node, complete the following steps:

  1. git clone https://github.com/antsankov/parity-ethereum.git
  2. cd parity-ethereum && git checkout sha3
  3. curl https://sh.rustup.rs -sSf | sh && source $HOME/.cargo/env
  4. (Linux) sudo apt-get update && sudo apt-get install -y libudev-dev cmake clang
  5. cargo build
  6. ./target/debug/parity --chain astor.json --author 0x061feb73A68127AE3772d322f4F54a5c691F5876 --jsonrpc-hosts all --jsonrpc-interface all --jsonrpc-cors '*'

If you plan on mining, change the --author flag to the address you want to receive the ether to. For Windows, we recommend either installing a Ubuntu virtual machine or using the Windows Linux Subsystem. Astor .exe coming soon.

Network

Analytics Websocket (~5 Minutes)

This is a voluntary web socket service that will send your information stats.astor.host. Make sure node is running first before starting the websocket.

  1. git clone https://github.com/antsankov/eth-net-intelligence-api.git && cd eth-net-intelligence-api
  2. (Linux) sudo apt-get install -y nodejs npm
  3. npm install
  4. WS_SECRET=asdf WS_SERVER=https://rpc.astor.host/ INSTANCE_NAME="🇨🇦TOR-Astor-Mine" npm run start

Running a SHA3 Miner (~5 Minutes)

To mine on the network, you will need to install a miner. A miner connects directly to the node, which you installed above. Currently, we have created a CPU toy miner in Python. In the future, we will be working on an open source GPU version as well. Please consult our resources if you are interested in optimizing SHA3 miners or want to begin writing your own miner.

  1. git clone https://github.com/antsankov/ethereum-cpu-miner.git && cd ethereum-cpu-miner
  2. (on Linux) sudo apt-get update && sudo apt-get install -y python3.6 python3-pip libssl-dev
  3. pip3 install -r requirements.txt
  4. python3 miner.py http://127.0.0.1:8545 -n 1000000000000000000000000000000

The -n be the number of blocks you want to mine on the testnet.

Transacting on the Astor Network

  1. Install Nifty Wallet
  2. Setup the wallet and Connect Nifty Wallet to http://localhost:8545 Nifty
  3. If you are unable to run a local node, you can also select as a network https://rpc.astor.host/node
  4. With Nifty wallet you can send or recieve aETC, and deploy contracts via Remix
  5. There is also an Astor Block explorer which you can use to analyze transactions.

Analytics Web Server (Unnecessary - Only run if you need your own network stats page)

Only necessary if you would like to run your own network status webpage. This allows you to run your own stats.astor.host.

  1. git clone https://github.com/antsankov/eth-netstats.git && cd eth-netstats
  2. sudo apt install npm
  3. npm install
  4. npm install -g grunt-cli
  5. grunt
  6. WS_SECRET="asdf" npm start