PoolSurETH is a Decentralized Insurance Configurator applied to any travel field (flights, trains, cruises etc...)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
compiled
config
contracts
design
lib
migrations
public
templates
test
test_lib
tmp
views
.gitignore
Gemfile
Gemfile.lock
README.md
config.ru
env.rb
package-lock.json
package.json
poolsureth.md
run
truffle.js
ui.rb

README.md

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