GithubHelp home page GithubHelp logo

Comments (4)

denalimarsh avatar denalimarsh commented on August 24, 2024

Instead of using provider wss://ropsten.infura.io/, can you attempt to start the relayer with provider wss://ropsten.infura.io/ws as described in section 'Running the relayer service' of the README?

Here's a screenshot which shows the issue reproduced, and then resolved by using the recommended provider:
Screen Shot 2019-10-24 at 11 54 58 PM

Thank you for the screenshots which allowed for a quick diagnosis of this issue. Please let us know if you continue having difficulty with the relayer service.

from gravity-bridge.

Arunhfb avatar Arunhfb commented on August 24, 2024

Thank you for your quick response.Its working fine now.But i saw there is some issue with the truffle_config.js it doesnt inject the .env parameters properly.So to make things work i hard coded the parameters i.e. MNEMONIC & INFURA_PROJECT_ID into the js file directly.

And also in the below command it accepts only cosmos_recipient addresses or it can accept any other customised prefix addresses?

yarn peggy:lock --network ropsten [HASHED_COSMOS_RECIPIENT_ADDRESS] [TOKEN_CONTRACT_ADDRESS] [WEI_AMOUNT]

from gravity-bridge.

Arunhfb avatar Arunhfb commented on August 24, 2024

I tried doing transaction after starting automatic relayer service but facing issues.I have attached screenshot for your reference.
Screenshot from 2019-10-25 13-35-15

from gravity-bridge.

denalimarsh avatar denalimarsh commented on August 24, 2024

I've opened PR #85 which addresses both issues. Once it's merged, you'll be able to send the lock transaction with the following process:

  1. Migrate the contracts to the ropsten network with yarn migrate --network ropsten
  2. Send lock transaction to contract with yarn peggy:lock [HASHED_COSMOS_RECIPIENT_ADDRESS] [TOKEN_CONTRACT_ADDRESS] [WEI_AMOUNT]

Screen Shot 2019-10-27 at 3 50 39 PM

As the production version of the Bridge currently supports only Ethereum -> Cosmos transfers, only hashed Cosmos recipient addresses are valid. For your initial test of the system, I recommend using the testuser address from the Bridge blockchain. You can get the testuser's address in plain text with the command ebcli keys show testuser -a.

from gravity-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.