Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    André Vitor de Lima Matos
    @andrevmatos
    Yes for the "load" request. After that, you should verify the proof received in the 402 response to load it, increment and sign, re-fill the cookies and re-do the request
    Peter Holzer
    @PeHo89
    Ok, and the balance signature is undefined after loadChannelFromBlockchain, right?
    André Vitor de Lima Matos
    @andrevmatos
    Yes, you need to sign the 0-balance proof (e.g. with incrementBalanceAndSign(0))
    main.js is demo code, so it's part of the documentation. Nonetheless, these details are in all the extensive µRaiden documentation, both the server, m2m client, microraiden-js lib and demo documentation, but of course we're always open to PRs to improve it
    Peter Holzer
    @PeHo89
    @andrevmatos I got the 'hello' the first time! Cool! Thank you very very much! :) But I have the next problem: Trying it again I get the error "TypeError: this.channel.proof.balance.plus is not a function". This comes from the function incrementBalanceAndSign within the TS library. Do you know whats the point here?
    André Vitor de Lima Matos
    @andrevmatos
    @PeHo89 You should be providing it with a number. microraiden-ts uses BigNumber, you need to populate the balances with BigNumbers, instead of standard number. There're some helper functions to convert a number of wei tokens to bignumber and back
    Peter Holzer
    @PeHo89
    Yeesss! That hint solved it! Great!! THANKS!
    Peter Holzer
    @PeHo89
    @andrevmatos What if I close the channel after some transactions without a closing signature and without settling it before? I have to settle it right after closing it, right? But I can't load it anymore, so how can I do this?
    André Vitor de Lima Matos
    @andrevmatos
    settling is always done at the same time of closing (if cooperative close or the receiver is the one closing) or after settle timeout expired (when uncooperative close by the sender), if the receiver didn't challenge during this timeout
    Peter Holzer
    @PeHo89
    ah ok, so for now I only have to wait until the settle timeout expired to see the balance changes in metamask plugin e.g.?
    André Vitor de Lima Matos
    @andrevmatos
    the closing signature is the one by the receiver, saying it agrees with a given BP, iff the sender requested it because it wanted to do a cooperative close. without closing signature from receiver, it's a uncooperative close, which will start the settle timeout, after when the sender will be able to settle
    wait for the settle timeout to expire and do the settling
    Peter Holzer
    @PeHo89
    ok, but how can i do the settling? or I am able to load the channel again after the time expired?
    André Vitor de Lima Matos
    @andrevmatos
    you need to wait for the settle timeout, then call settleChannel. You're always able to load the channel as much times as needed. loadChannelFromBlockchain is just a helper (as I said), which do some smart checks to avoid you loading a channel which is inside the settle timeout (as you can't do anything with it anyway), allowing you to e.g. open a new channel and interact with it. If you forget the new channel and call this function again after settle timeout expires, it'll pick the old, to-be-settled channel again so you can settle it
    Peter Holzer
    @PeHo89
    Ok, then I will simply wait for settle timeout is expired, loadChannelFromBlockchain and call settleChannel. Then I hope to see the balance changes in MetaMask. Many many thanks again!! :) Btw How long is the timeout?
    André Vitor de Lima Matos
    @andrevmatos
    It's in the contract, I think latest deployment was like 1 or 2 days
    Peter Holzer
    @PeHo89
    Oh i saw, 500+ blocks. Thanks! Just for better understanding: what is this waiting period good for?
    André Vitor de Lima Matos
    @andrevmatos
    @PeHo89 As I said, is the period in which the receiver (if went offline) could comeback, see the closing event and present his side of the balance proof (the received amount), saving his tokens, or else the contract would only have the sender word for it
    raj jha
    @rajjha10_twitter

    "server won't accept this channel.
    Please, close+settle+forget, and open a new channel"

    this message is displayed on both chrome and firefox with metamask on the ropsten test network while accessing demo https://wikidemo.micro.raiden.network/wiki/Main_Page . it appears after depositing the TKN tokens and trying to sign them. Please suggest.

    André Vitor de Lima Matos
    @andrevmatos
    @rajjha10_twitter as I answered in your opened issue (#489), it was caused by the ropsten constantinople consensus issue between parity and geth. resync is underway, and everything should be working again soon. As it was stated in the log messages, despite an issue as big as a consensus issue in the ethereum node, the user's money (both client and server) were in their own hands, no custody involved, so the users, through a synced node in whichever fork they were, would be able to close the channel and reclaim their tokens, demonstrating the power of µRaiden and Raiden payment channels technology
    raj jha
    @rajjha10_twitter
    Thanks @andrevmatos for resolving issue (#489) . I do have one microraiden instance running on my local server. I am now facing same issue(#489) with that instance. Please let me know how I can fix my local microraiden instance?.
    André Vitor de Lima Matos
    @andrevmatos
    @rajjha10_twitter This error happens because of inconsistency between client and server's chain. Ensure both eth nodes are synced and on same chain
    raj jha
    @rajjha10_twitter
    @andrevmatos Please confirm the steps that I need to perform:
    1. Upgrade geth to latest version
    2. Resync ropsten testnet
    3. Restart microraiden server
      Please let me know if anything more to do?.
    André Vitor de Lima Matos
    @andrevmatos
    @rajjha10_twitter yes, that should be about it. The documentation holds on these matters, and the error you're seeing locally is caused by these chainsplits/setup/deploy issues, not codewise (FYI demo site is running exactly the setup you see in the docker folder in repository)
    hivemall
    @hivemall
    what is the current status of raiden, does it have its own mainnet, is it on the eth mainnet? i try to write proof of concept micropayment thesis and would like to use either lightning btc or raiden, but your raidos raidex raidn-netw and uradien, is overwhelming, could you shed light into what i would use now and which chains/testnets it tackles?
    raj jha
    @rajjha10_twitter
    Thanks @andrevmatos for your help. My local microraiden instance is working great now.
    Stefan Benten
    @stefanbenten
    Hey guys! Anyone joining/attending the Web3 Summit?
    André Vitor de Lima Matos
    @andrevmatos
    @stefanbenten I'll be there on the Wednesday
    Stefan Benten
    @stefanbenten
    @andrevmatos Would like to meet with you and talk about MicroRaiden if you like!
    André Vitor de Lima Matos
    @andrevmatos
    @stefanbenten of course, whenever may fit you
    hivemall
    @hivemall
    when will the red-eye raiden network be functional, like actually do bidirectional payments. If it gets out in time, I would use it in my thesis rather than the progressed LN network. Any dates updates on it, when raiden-network is usable?
    @LefterisJP you seem to be at the core of dev
    hivemall
    @hivemall
    appreciate your communication efforts :(
    Lefteris Karapetsas
    @LefterisJP
    hey @hivemall for raiden questions please go to the raiden channel: https://gitter.im/raiden-network/raiden
    this is only for uRaiden.
    You can use Raiden right now on public or private testnets. It's completely functional
    There is simply no mainnet deployment yet. For that I can't give a date.
    You can ofcourse use Raiden in your thesis. Our specification is online: https://raiden-network-specification.readthedocs.io/en/latest/
    and the docs on how to get started are also online: https://raiden-network.readthedocs.io/en/latest/
    Patrick Lenert
    @patricklenert

    Hello Community, can you guys please look at my specific problem with the uRaiden Example: raiden-network/microraiden#491

    Thanks in advance.

    Stefan Benten
    @stefanbenten
    @patricklenert I am not sure regarding your issue, but i am running a full node and didnt encounter this message. Maybe the light client doesnt have enough local blocks cached to respond properly?
    Paul Zietsman
    @phzietsman
    Hey guys, I'm trying to get started with microraiden, but I can't get the past the installation step. Does anybody have a Dockerfile or something with the dependencies I need to get started?
    I tried on Mac and then switched to Ubuntu, but the pip install requirements keeps on getting errors.
    André Vitor de Lima Matos
    @andrevmatos
    Hi, @phzietsman . If you look into the repository, you'll see a docker folder containing our exact in-production environment at demo.micro.raiden.network
    You may want to adapt it a little, to remote e.g. SSL from nginx, etc, but it's a fully working solution to get the dependencies and environment right for µRaiden
    Paul Zietsman
    @phzietsman
    Awesome! Thanks
    Continue with the good work!
    1nfinite
    @1nfinite
    how can i use microraiden with infura node instead of geth. I saw that it can be done in the documentation but there is no sample of it.
    André Vitor de Lima Matos
    @andrevmatos
    @1nfinite Hi. Infura is already used by the web/js client, through Metamask. About the server, it requires filters, which infura doesn't support currently. You could look into Raiden's implementation of StatelessFilters, and try to port the idea to µRaiden, but right now it's not an usecase we support
    SS
    @crypto0925_gitlab
    I would love to know if you have any updates for MicroRaiden since the last release of 0.2.5? Given that I am mostly interested on unidirectional payment scenarios, just wondering if we can base our development efforts out of MicroRaiden or will Ithaca provide more capabilities in this unidirectional payment situation. Can someone clarify? Thanks in advance.
    christianbrb
    @christianbrb
    @crypto0925_gitlab Currently we focus on building the Raiden Network and work towards the Ithaca Milestone (https://medium.com/raiden-network/development-update-the-road-towards-ithaca-58c5d68954e0). There is no update on MicroRaiden.