Skip to content

veradefi/iot-governance

Repository files navigation

Installation

Github Source Code

All components of this project, including The Universal IoT Blockchain Database, Hypercat API, and Hypercat Web Interface are open-source to allow community contribution and participation, to join in on our mission to Bring Governance to Technology using Blockchain.

We encourage contribution to the open-source development efforts of this project, which is available at <https://github.com/iotblock/iotblock>

Accessing the Source Code Repository:

git clone https://github.com/iotblock/iotblock

The Universal IoT Blockchain Database Smart Contracts

TestRPC

Ethereum Ganache RPC

yarn
ganache-cli -p 9545 -i 4447

Testnet IoTBlock Ethereum Smart Contracts (/contracts)

bash build_testnet.sh
bash build_testnet_data.sh

Rinkeby

Ethereum Rinkeby RPC

sh rpc_rinkeby.sh

Rinkeby IoTBlock Ethereum Smart Contracts (/contracts)

bash build_rinkeby.sh
bash build_rinkeby_data.sh

The Universal IoT Blockchain Hypercat API

The Universal IoT Blockchain Hypercat API to access The Universal IoT Blockchain Smart Contracts

Testnet Hypercat API (http://localhost:8888)

pip3 install -r requirements.txt 
python3 server/index_testnet.py

Rinkeby Hypercat API (http://localhost:8888)

pip3 install -r requirements.txt 
python3 server/index.py

IoTBlock's Hypercat API is accessible via <https://iotblock.io/cat>

The Universal IoT Blockchain IoTPedia Web Interface

Web Interface to access the The Universal IoT Blockchain Hypercat API and The Universal IoT Blockchain Smart Contracts

::

First Edit package.json, set proxy (at the bottom of the file) to Hypercat API URL (e.g. https://iotblock.io, or http://localhost:8888)

Testnet Smart Contracts Web Interface

bash build_testnet.sh
bash build_testnet_data.sh

npm start

Rinkeby Smart Contracts Web Interface

bash build_rinkeby.sh
bash build_rinkeby_data.sh

npm start

IoTBlock's Web Interface is accessible via <https://iotblock.io/iotpedia/>

The Universal IoT Blockchain Hypercat Event Listener

The Universal IoT Blockchain Event Listener to access The Universal IoT Blockchain Smart Contracts

python server/events.py

IoTBlock's Hypercat API is accessible via <https://iotblock.io/cat>