Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Jacob Stenum Czepluch
    Lefteris Karapetsas
    mission accomplished
    Qi Da
    Great work guyssss
    good job! really appreciate your work!
    Aruljothi Kuppusamy
    (pyweb3) aj@ajs-macbook-pro microraiden (master) $ pip install -e .
    Obtaining file:///Users/aj/Documents/Blockchain/RaidenNetwork/microraiden/microraiden
        Complete output from command python setup.py egg_info:
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/Users/aj/Documents/Blockchain/RaidenNetwork/microraiden/microraiden/setup.py", line 18, in <module>
            from microraiden.config import MICRORAIDEN_VERSION
        ImportError: cannot import name 'MICRORAIDEN_VERSION'
    Command "python setup.py egg_info" failed with error code 1 in /Users/aj/Documents/Blockchain/RaidenNetwork/microraiden/microraiden/
    Andr├ę Vitor de Lima Matos
    Aruljothi Kuppusamy
    Congrats ­č嬭čĆ╗­čĄô
    Aruljothi Kuppusamy
    Hey Guys
    Can anyone guide me how to start writing APIÔÇÖs in microraiden for Create new channel, Deposit, transfer and close
    Andr├ę Vitor de Lima Matos
    @jakjothi_twitter most of these operations are done directly on chain. Server "listens" to it in order to register new or closed channels, etc. After the channel is open (with a deposit), there's not API (with the server) to make a transfer, but the client is responsible for signing a compatible balance proof and attaching it to the desired (paid) resource (through cookies or http headers). Once the server verify and register the payment, it'll answer with a proper response to that request. The documentation is pretty complete and has good walkthrough both for machine-2-machine (python) clients as well as js/ts/node/browser-based clients (see webui)
    After reading the documentation, if you have any question or issue, we'll be happy to help here
    Aruljothi Kuppusamy
    Thanks @andrevmatos :)
    I will check the updated docs
    Robin Attig

    Hello over there

    We're currently building a blockchain solution for both online and real-life P2P Payments in the adult industry. Raiden seems to be a perfect fit. Do you already have a rough timeline when Raiden will be ready to use with it's core features?

    Lefteris Karapetsas
    microraiden can already be used, even though it's not yet a stable release.

    For raiden we have a different channel: https://gitter.im/raiden-network/raiden

    But there is no timeline we can provide

    Robin Attig
    ok, thank you!
    Shashank Prasad

    HI Guys, i am trying to setup microraiden but running into this issue.

    root@ip-172-31-6-26:~/test# virtualenv -p python3 env
    Running virtualenv with interpreter /usr/bin/python3
    Using base prefix '/usr'
    New python executable in env/bin/python3
    Also creating executable in env/bin/python
    Installing setuptools, pip...done.
    root@ip-172-31-6-26:~/test# . env/bin/activate
    (env)root@ip-172-31-6-26:~/test# git clone https://github.com/raiden-network/microraiden.git
    Cloning into 'microraiden'...
    remote: Counting objects: 8305, done.
    remote: Compressing objects: 100% (81/81), done.
    remote: Total 8305 (delta 62), reused 77 (delta 46), pack-reused 8176
    Receiving objects: 100% (8305/8305), 13.68 MiB | 1.75 MiB/s, done.
    Resolving deltas: 100% (5950/5950), done.
    Checking connectivity... done.
    (env)root@ip-172-31-6-26:~/test# cd microraiden/microraiden
    '(env)root@ip-172-31-6-26:~/test/microraiden/microraiden# pip install -r requirements-dev.txt
    Traceback (most recent call last):
    File "/root/test/env/lib/python3.4/site-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
    File "/root/test/env/lib/python3.4/site-packages/pip/commands/install.py", line 262, in run
    for req in parse_requirements(filename, finder=finder, options=options, session=session):
    File "/root/test/env/lib/python3.4/site-packages/pip/req.py", line 1631, in parse_requirements
    req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None))
    File "/root/test/env/lib/python3.4/site-packages/pip/req.py", line 172, in from_line
    return cls(req, comes_from, url=url, prereleases=prereleases)
    File "/root/test/env/lib/python3.4/site-packages/pip/req.py", line 70, in init
    req = pkg_resources.Requirement.parse(req)
    File "/root/test/env/lib/python3.4/site-packages/pip/_vendor/pkg_resources.py", line 2606, in parse
    reqs = list(parse_requirements(s))
    File "/root/test/env/lib/python3.4/site-packages/pip/_vendor/pkg_resources.py", line 2544, in parse_requirements
    line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
    File "/root/test/env/lib/python3.4/site-packages/pip/_vendor/pkg_resources.py", line 2522, in scan_list
    "Expected ',' or end-of-list in",line,"at",line[p:]
    ValueError: ("Expected ',' or end-of-list in", 'pytest>=2.7.2,!=3.3.', 'at', '')

    Storing debug log for failure in /root/.pip/pip.log '

    sorry for the long message. my serve info below
    (env)root@ip-172-31-6-26:~/test/microraiden/microraiden# python -V
    Python 3.4.3
    (env)root@ip-172-31-6-26:~/test/microraiden/microraiden# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 14.04.5 LTS
    Release: 14.04
    Codename: trusty
    any ideas? Thanks for your time!
    Lefteris Karapetsas
    @_shashankprasad_twitter what is your pip version? Seems it has problems recognizing the range syntax of the requirements file

    Hi Guys, I managed to set microraiden and
    I'm trying to deploy new custom created token using microraiden. I am running a Ropsten in localhost. Command which I use to run a script is

    --chain=ropsten --supply=1000000 --token-name=LepiToken --owner=40cdfcd88a52160ec3b26260fb06639ef6034554 --token-decimals=2 --token-symbol=LTAA --challenge-period 500

    This owner string is my account public address that I obtained from my MetaMask wallet.

    The error I'm facing is :

    raise ValueError(response["error"])
    ValueError: {'code': -32000, 'message': 'unknown account'}
    sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=9>
    sys:1: ResourceWarning: unclosed file <_io.BufferedWriter name=6>
    sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=7>
    sys:1: ResourceWarning: unclosed <socket object at 0x7fccb0eed588>
    Can somebody help me with this unknown account? Why I get this error?

    I solved this ! :)
    Tim van de Vathorst
    Hey Guys, I just installed MicroRaiden on my server. What would be the best place to start for me?
    I'm a NodeJS developer myself with not much Python experience
    What I don't understand yet is the role of the server, you need a Parity server (this I do understand), Raiden server, and a client web3 connection right? Will the client talk to the parity server with web3 or to the Raiden server using the API? This is still a bit confusing to me
    Loredana Cirstea
    You don't need to run a Parity server, but you need to run a local chain (Ropsten, Kovan, custom etc.) - you can use geth for example. You can also run it as a light client. This chain is used by the ┬ÁRaiden server to watch for contract events. The web client needs MetaMask to interact with the paywall. Check out our docs (currently working on improving them): http://microraiden.readthedocs.io/en/latest/index.html
    @Timvdv --^
    Tim van de Vathorst
    I have a synced chain to the robsten network
    ahh okay.. So the Python is actually the back-end connecting with the blockchain. I'm used to implement it in the Front-end. Is it still possible to talk to ┬ÁRaiden from the front-end?
    @loredanacirstea I don't have permission to view the link you just send
    Loredana Cirstea
    @Timvdv , the link to the docs is in the github repository readme (https://github.com/raiden-network/microraiden). It should be public. We have a npm package with all the logic needed to communicate with the ┬ÁRaiden server & blockchain: https://github.com/raiden-network/microraiden/tree/master/microraiden/webui/microraiden .
    Tim van de Vathorst
    Thanks, I'll check it out
    Tim van de Vathorst
    I'm wondering, how do I find my private key in Parity?
    python -m microraiden.examples.demo_proxy --private-key <private_key_file> start
    $HOME/.local/share/io.parity.ethereum/keys has an Ethereum folder but the object inside is just empty
    Tim van de Vathorst
    This is probably more of an parity issue.. On startup it tells me the keys are in /root/.local/share/io.parity.ethereum/keys/Ropsten but that folder does not exist
    Loredana Cirstea
    Yes, this is a Parity setup issue. The keys should have been in io.parity.ethereum/keys/ - wherever that is located on your system (location should be documented in the Parity docs).
    Andr├ę Vitor de Lima Matos
    @Timvdv on the server, your key doesn't need to be in the eth node (e.g. parity). If you create one through parity's interface, for example, it'll be in the folder you listed, but if you didn't, the eth node will still launch and work. In the ┬ÁRaiden server side, it doesn't care from where does your key come from, as far as it can access it. If it's on the parity's default path, you can point it directly there, with --private-key, or copy if from there to another path. The key is read directly, and the eth node is used only to talk with the network. So, you can launch parity without a key, and generate one with Metamask and put it directly in ┬ÁRaiden server, and it'll work.
    Tim van de Vathorst
    @andrevmatos Ahh okay! Did not know that. Got it working by creating an account using the Parity UI which created the keys for me. I'll start creating my microraiden dapp next week :+1:
    Deep Chenna
    Hi, I'm trying to run the echo_server.py example code. I'm stuck with following issue. Can some one help with root cause for this issue
    Traceback (most recent call last):
    File "/Users/Deep/Documents/OneDrive/Documents/BlockChain/Paid API/WD/proxy-server.py", line 102, in <module>
    File "/Users/Deep/anaconda/envs/raiden/lib/python3.5/site-packages/click/core.py", line 722, in call
    return self.main(args, kwargs)
    File "/Users/Deep/anaconda/envs/raiden/lib/python3.5/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
    File "/Users/Deep/anaconda/envs/raiden/lib/python3.5/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback,
    File "/Users/Deep/anaconda/envs/raiden/lib/python3.5/site-packages/click/core.py", line 535, in invoke
    return callback(
    args, **kwargs)
    File "/Users/Deep/Documents/OneDrive/Documents/BlockChain/Paid API/WD/proxy-server.py", line 49, in main
    File "/Users/Deep/Documents/OneDrive/Documents/BlockChain/Paid API/WD/proxy-server.py", line 74, in run
    File "/Users/Deep/anaconda/envs/raiden/lib/python3.5/site-packages/microraiden/make_helpers.py", line 58, in make_channel_manager
    token_address = channel_manager_contract.call().token()
    File "/Users/Deep/anaconda/envs/raiden/lib/python3.5/site-packages/web3/contract.py", line 794, in call_contract_function
    output_data = decode_abi(output_types, return_data)
    File "/Users/Deep/anaconda/envs/raiden/lib/python3.5/site-packages/eth_abi/abi.py", line 58, in decode_abi
    raise TypeError("The data value must be of bytes type. Got {0}".format(type(data)))
    TypeError: The data value must be of bytes type. Got <class 'str'>
    Loredana Cirstea
    @deepchenna I think you are using web3.py v.3.* instead of web3==v4.0.0-beta.4 . You should use our requirements files to install the pip packages. Also, note that it's better to you run uRaiden in a virtual environment.
    Deep Chenna
    @loredanacirstea Thankyou for the reply.. I've checked the web3 version, i'm having v4.0.0b4. In fact i followed the steps in quickstart portion in readme file.
    Loredana Cirstea
    @deepchenna , what version of eth-abi do you have if you do a pip freeze? Try with eth-abi==0.5.0
    Deep Chenna
    @loredanacirstea Thank you.. it was 1.0.0.. issue got resolved after changing to 0.5.0
    Loredana Cirstea
    There is a new 0.2.5 micrroraiden pypi release with a version fix as for this morning.