Skip to content

Missing interactive steps for ropsten network on demo #1

@0xjjpa

Description

@0xjjpa

👋 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions