Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Loredana Cirstea
    @loredanacirstea
    @davidkang200 , can you paste the terminal command used? Also, as the error says: is your chain synced? What chain are you using - ropsten, rinkeby, private one?
    spock
    @spock-mark1
    python microraiden/examples/echo_server.
    py --private-key microraiden/examples/pk_tut.txt
    I'm using private one. how can I change to ropsten?
    @loredanacirstea Can I read example or API docs for JS?
    Loredana Cirstea
    @loredanacirstea
    If you are using a private chain, you need to deploy the smart contracts there first. For ropsten, please see http://microraiden.readthedocs.io/en/docs-develop/tutorials/blockchain.html
    Loredana Cirstea
    @loredanacirstea
    @davidkang200 for JS example see the js webui example from microraiden/webui/js/main.js and https://github.com/raiden-network/microraiden/tree/master/microraiden/webui/microraiden/docs
    Loredana Cirstea
    @loredanacirstea
    @davidkang200 , let me know if you have blockers with using a private chain - this is trickier for the echo_server example but easier for the demo_proxy one
    spock
    @spock-mark1
    @loredanacirstea Thanks! I'll try.
    Lefteris Karapetsas
    @LefterisJP
    Good luck David!
    spock
    @spock-mark1
    @loredanacirstea Can I make split bill using micro-raiden?
    Lefteris Karapetsas
    @LefterisJP

    split bill

    What is this?

    spock
    @spock-mark1
    If 4 person get lunch, they pay their lunch with pay gas-fee once using micro-raiden's payment channel. Is it possible?
    Loredana Cirstea
    @loredanacirstea
    If each of the 4 persons opens a channel with the restaurant and goes there frequently to eat, then it makes sense. many to one payments work well with uRaiden. But you won't have only 1 on-chain transaction -> you will have 2 (opening a channel and closing it)
    @davidkang200 It is possible you had something else in mind, so please clarify on how you imagined your system.
    spock
    @spock-mark1
    no, create a payment channel by one person, and each of 4 person pay to payment channel. I want to make pay gas-fee once for total.
    Lefteris Karapetsas
    @LefterisJP
    so 1 payment channel but 4 participants?
    spock
    @spock-mark1
    @LefterisJP Right.
    eyals
    @aykesubir
    Hey! I'm reposting a question I asked on the raiden channel. When coming to implement uni-directional channel, what are the benefits of using microRaiden over other solutions such as Machimony etc..?
    Lloyd Palum
    @lpalum
    The uraiden docs suggest using the following to attach to ropsten...geth --testnet --syncmode "fast" \
    --rpc --rpcapi eth,net,web3,personal \
    --cache=1024 \
    --rpcport 8545 --rpcaddr 127.0.0.1 \
    --rpccorsdomain "*" what would be the path to use my Infura account instead?
    Lloyd Palum
    @lpalum
    @loredanacirstea is there any info (blog etc) that would outline how to use Infura rather than a local node to run the uraiden demo code?
    Lefteris Karapetsas
    @LefterisJP
    @lpalum you would need to provide the --rpc-provider argument and point it to infura
    Lloyd Palum
    @lpalum
    @LefterisJP thanks for the pointer... so if this is the geth command profile without infura, how would it change to use infura instead of the local node? geth --testnet --syncmode "fast" \
    --rpc --rpcapi eth,net,web3,personal \
    --cache=1024 \
    --rpcport 8545 --rpcaddr 127.0.0.1 \
    --rpccorsdomain "*" replace --rpc with --rpc-provider?
    Lefteris Karapetsas
    @LefterisJP
    you don't run geth locally if you have got a remote rpc provider
    It takes the place of your local geth
    Lloyd Palum
    @lpalum
    @LefterisJP Ah I see the problem...I am attempting to run the uraiden demo examples and the docs use local geth rpc provider. Is it possible that the demo examples do not work (without code modifications) with the remote rpc provider? The docs say Infura is possible but do not elaborate on how...
    Lefteris Karapetsas
    @LefterisJP
    According to the code providing infura with the --rpc-provider should work. I am not sure how much this is tested, but you can try and see. It's not well documented though.
    Seunghyun Yun
    @younseunghyun
    I'm currently testing micro raiden demo_proxy
    It looks like there is no check double pay logic to check already paid contents
    To check double payment for same contents, am i have to add that functionality or you guys plan to add that?
    Lefteris Karapetsas
    @LefterisJP
    What are you referring to @younseunghyun ? Double spending can't happen.
    Loredana Cirstea
    @loredanacirstea
    @lpalum , we have some issues with infura at the moment regarding events (https://github.com/raiden-network/microraiden/pull/320#issuecomment-361083860, https://github.com/raiden-network/microraiden/issues/321), so I don't expect it to work unfortunately
    Loredana Cirstea
    @loredanacirstea
    @younseunghyun do you mean - paying only once for an url even if you visit it 2 times? Yes, you need to implement the logic that corresponds to the paid API yourself because it is not in the scope of microraiden and we wanted to keep it flexible. You need to extend the Expensive class - please check demo_resources or the echo_server.py example and look at how DynamicPriceResource is used.
    Cody Lamson
    @TovarishFin
    Hi, I have been playing around with the tutorials for microraiden and I couldn't find anywhere where I could set a different token. Is this possible?
    ah.... i think i see now... so the token is set in the constructor of RaidenMicroTransferChannels
    Cody Lamson
    @TovarishFin
    so in order to use this with a different token I would need to deploy own contract with the token address I want. and then set the channel_manager_address to something the new one i deployed...
    Loredana Cirstea
    @loredanacirstea
    @TovarishFin yes, exactly. If you haven't, please check http://microraiden.readthedocs.io/en/docs-develop/contract/deployment.html#fast-deployment for how to deploy the contracts with a custom token.
    Seunghyun Yun
    @younseunghyun
    @loredanacirstea Thanks
    Cody Lamson
    @TovarishFin
    yeah trying to get through it all but to be honest I don't think the tutorials are all that great. Really awesome project regardless though!
    probably has more to do with me not knowing python very well actually...
    Loredana Cirstea
    @loredanacirstea
    @TovarishFin , what is your current blocker?
    Cody Lamson
    @TovarishFin
    no real blocker at the moment... figured out my own question previously :) just generally trying to get a feel of how I am going to end up using this.
    thanks for replying though
    Loredana Cirstea
    @loredanacirstea
    Welcome. Still, if there is something unclear, consider sharing it so we can improve our docs
    Cody Lamson
    @TovarishFin
    @loredanacirstea I suppose the main thing for me was that everything is already written out in the docs for the examples
    probably a personal thing
    but with tutorials I learn and understand things a lot better when I am actually building stuff myself setup by step
    rather than just running the example code
    also it would probably be a good idea to differentiate sender and receiver private keys
    just 2 points that come to mind
    @loredanacirstea I just saw you are based in Berlin. Neat! Is most of the team located in Berlin? Are there ever any meetups or anything like that?
    Loredana Cirstea
    @loredanacirstea
    About building the examples yourself - I understand and we do not currently have a very good explanation of the APIs that you can use, but you can figure how things work from the examples code. You can also take a look at the explanation here: http://microraiden.readthedocs.io/en/docs-develop/tutorials/paywall-tutorial.html.
    I agree with the private keys - they should be separate, otherwise it is confusing. For now, I opened an issue raiden-network/microraiden#471