Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Lefteris Karapetsas
    @LefterisJP
    I could. Not all types of clients would need to implement this. Clients where approval is required before signing would need to do it. E.g. metamask.
    Most important would be to get feedback by people in order to clear out the last few issues that have surfaced in the EIP.
    Lefteris Karapetsas
    @LefterisJP
    done. Thanks for the suggestion nick
    Mikers
    @mseiler1_twitter
    is micro raiden only for erc20 or does it support ether? just curious
    i run a token mining pool and i'm curious to use microraiden for token payouts instead of sending them on chain, we've been starting to develop our own protocol, but if this one is complete and more secure...
    Mikers
    @mseiler1_twitter
    Lefteris Karapetsas
    @LefterisJP
    only ERC20
    But Ether can very easily be ERC20-tokenized.
    Mikers
    @mseiler1_twitter
    would it be possible to store microraiden signatures on chain in a public testnet or other private network? This would allow a fully featured microraiden client to only know how to do IO with ethereum networks. Related, in the python server, how is the state stored? Are Channel objects stored on disk? in memory? https://github.com/raiden-network/microraiden/blob/master/microraiden/client/channel.py
    (ty for making this in python and not node)
    Lefteris Karapetsas
    @LefterisJP
    It's stored on disk, in an sqlite database
    Mikers
    @mseiler1_twitter
    ah cool thanks - do you think it would be feasible to modify this file to store microraiden sigs on a sidechain? https://github.com/raiden-network/microraiden/blob/master/microraiden/channel_manager/state.py does that make sense? can these signatures be decentralized/public?
    Loredana Cirstea
    @loredanacirstea
    @mseiler1_twitter , can you clarify what you mean by microraiden signatures and store microraiden signatures on chain?
    Also, the main component is the microraiden proxy-server, which receives the off-chain payment = the signed balance proof. So, the microraiden client can be implemented as you would like - if you want a custom way of providing the input (signed balance proof). We do have 2 microraiden client implementations (python, typescript) that can serve as example.
    Mikers
    @mseiler1_twitter
    yeah happy to, thanks for chatting with!
    i mean storing the signed balance proof on a public ledger
    let me try to write up the back ground of why this is interesting
    there's a second motivation for creating a side chain
    Mikers
    @mseiler1_twitter
    0xbitcoin is a mineable erc20 token and i'm running a pool that's a node+redis app that's accumulating shares similar to bitcoin and sending transactions to the ethereum main net when a full block is found. We were thinking about implementing a pool purely as a solidity contract on an ethereum testnet or private net and be able to have an event listener that signs an event to the main net when a full block is found. This should make maintaining the pool a lot easier than the node+redis app. The thought then is that payouts could happen through the raiden network or similar, where signatures/signed balance proofs could also be stored and hosted on that side ethereum testnet/privatenet and the miners could commit their signatures to the main ethereum network as often as they wanted to cash out. it's a bit in the early planning stages
    spock
    @spock-mark1
    hello
    image.png
    I'm David. We are running on the hackathon in Seoul now.
    I got error above. Anyone can help me?
    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.
    Jack 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