Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing interactive steps for ropsten network on demo #1

Open
0xjjpa opened this issue Mar 13, 2019 · 0 comments
Open

Missing interactive steps for ropsten network on demo #1

0xjjpa opened this issue Mar 13, 2019 · 0 comments

Comments

@0xjjpa
Copy link
Contributor

0xjjpa commented Mar 13, 2019

👋 I've set up everything as described in the README, however, I'm unable to get the same sort of interaction is shown in the ETHCC presentation, particularly @robertkiel section when kickstarting the demo. I even whitelisted the ropsten contract as updated in the latest commit for the demo, but I only get the following feedback from the console:

 ~/Projects/validitylabs/hopr   dev  yarn demo
yarn run v1.10.1
$ node test/demo.js
Welcome to HOPR!
Please wait some time until the node is set up.
This may take some time ...
Meanwhile you can start reading the wiki at https://github.com/validitylabs/messagingProtocol/wiki

Compiling smart contract ...

Compiling your contracts...
===========================
> Compiling ./contracts/HoprChannel.sol
> Compiling ./contracts/Migrations.sol
> Compiling ./contracts/token/ERC20/IERC20.sol
> Compiling openzeppelin-solidity/contracts/math/SafeMath.sol
> Artifacts written to /Users/jjperezaguinaga/Projects/validitylabs/hopr/build/contracts
> Compiled successfully using:
   - solc: 0.5.0+commit.1d4f565a.Emscripten.clang


Debug mode: using password Epo5kZTFidOCHrnL0MzsXNwN9St
Done. Using peerId QmUjhU5BKBLwNL6Cf3NFra2SLuaLcsnYzoG1oFcaeeoR6w

Debug mode: using password Epo5kZTFidOCHrnL0MzsXNwN9St
Done. Using peerId QmVQZwxiziy8YEvzSH9BvYHox8ZqnMMCkxHqGh56RgCKn7

Debug mode: using password Epo5kZTFidOCHrnL0MzsXNwN9St
Done. Using peerId QmT1wwgqpkoh4D6JYsguDLN25m7JFx3ZtEp5tpbeW644u2

Debug mode: using password Epo5kZTFidOCHrnL0MzsXNwN9St
Done. Using peerId QmSH3qQXEkCUNPxCWLzNUXp4i7PzYojvzKkCuBr4qwytyL

I tried this in the dev branch. For the record, here are some of my environment variables:

 ~/Projects/validitylabs/hopr   dev  node --version
v10.12.0

and here's the format of my config/.secrets.json

{
    "infuraRopstenURL": "https://ropsten.infura.io/v3/",
    "infuraApiKey": "2f5...b89",
    "infuraRopstenWssURL": "wss://ropsten.infura.io/ws/v3/",
    "fundAccountEthAddress": "0xFD1...a96",
    "fundAccountPrivateKey": "b430...ec"
}

Reading through the demo now, and I'm guessing something is getting lost accross the message as I don't get to see the Psst ... secret message from Validity Labs! message nor any activity in the Ropsten contract.

I'll poke on the issue on my own, but thought you would be happy to know about this. An easy way to test this is to have a new isolated environment in a place like C9, Glitch.com or a new virtual machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant