Skip to content

Latest commit

 

History

History
64 lines (31 loc) · 1.55 KB

README.md

File metadata and controls

64 lines (31 loc) · 1.55 KB

PoolSurETH

pronounced a-la-francois: pulsurette

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.

UI

Dev (run contract test)

Run test rpc:

<!-- OLD -->
<!-- testrpc --mnemonic "antani" --accounts 10 -->

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