This is the on-chain part of the blockchain oracle Siwa, implemented as smart contracts. You can deploy and test them, and run clients to interact with them.
Install Node.js, cnpm, Truffle and Ganache.
Clone this repository and install node modules.
git clone https://github.com/KofClubs/siwa-dapp.git
cd siwa-dapp/
cnpm install
Create a Ganache workspace based on truffle-config.js
, test and deploy smart contracts.
truffle test
truffle migrate
Run *-client.js
to interact with the corresponding smart contracts.