Skip to content

Latest commit

 

History

History
76 lines (34 loc) · 1.82 KB

README.md

File metadata and controls

76 lines (34 loc) · 1.82 KB

PoolSurETH

pronounced a-la-française: pulsurette

Details

PoolSurETH is a Decentralized Insurance Configurator applied to any travel field (flights, trains, cruises etc...), potentially using any investing and reward scheme and connecting via any Ethereum Oracle.

The project is a BreakTheBlock '17 hackathon project, you can find more details here: https://github.com/makevoid/PoolSurETH/blob/master/poolsureth.md#what-problem-are-you-trying-to-solve

UI

Dev (run contract test)

Run test rpc:

testrpc --account="0xdccc4200d5c8738264dc8a9064c03cd5e06af653cac0c5b99e8634bb6175882c,0x1337000000000000000000000" --gasLimit 0x2FAF080

Clone and setup oraclize/ethereum-bridge:

# cd somewhere
git clone https://github.com/oraclize/ethereum-bridge && cd ethereum-bridge && npm i

Edit the bridge config file and add you key:

echo '["dccc4200d5c8738264dc8a9064c03cd5e06af653cac0c5b99e8634bb6175882c"]' > config/instance/keys.json

run the bridge:

node bridge -a 0 --dev --broadcast -H localhost:8545

install truffle and npm modules:

npm i -g truffle && npm i

run tests:

truffle test

useful setup docs/guides