Questions tagged [state-channels]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
17 views

How do Payment Channel Networks such as Raiden actually increase blockchain scalability?

Question : If a payment channel network that routes multi-hop payments uses HTLC's (hash time locked contracts) which must first lock up funds on-chain and also be redeemed on-chain then how are they ...
Luke Wanless's user avatar
0 votes
0 answers
10 views

Censorship of latest state in state channel

Does shifting to Proof-of-Stake prevent censoring of latest channel state in ethereum-based state channels? As far as my understanding, censoring of transaction will persist as the miners can still be ...
Subhra Mazumdar's user avatar
0 votes
0 answers
37 views

Has the state channel died?

State channels and rollups are both layer-2 scaling solutions for blockchain networks, with state channels being around for longer. State channels allow users to conduct off-chain transactions while ...
user77340's user avatar
  • 103
1 vote
0 answers
23 views

How does the ForceMove protocol handle timed dispute periods?

The main idea behind the ForceMove protocol is that, in a state channel between predefined participants running turn-based applications, lets say 2 for this example (Alice and Bob), if it is Bob's ...
riverwastaken's user avatar
1 vote
0 answers
17 views

Regarding orderer container [closed]

I am trying to setup multi channel network, every thing was working fine except my Orderer was getting exited immediately. As there is no Orderer I could not proceed further. My setup consists of 3 ...
Navneet Yadav's user avatar
0 votes
1 answer
52 views

What are some real world use cases for state channels?

Are there any state channel implementations being used today, or in development? (Not including payment channels) I'm interested in practical use cases rather than theoretical examples like playing ...
Darius's user avatar
  • 101
0 votes
0 answers
367 views

which is a better method to use for signing messages between two parties in web3?

I have been searching for a while for the most secure and supported way for off-chain channel messaging.....so i was using web3.eth.sign(address, keccak256(msg)) for singing messages ....but then used ...
Dabees's user avatar
  • 141
1 vote
1 answer
257 views

Implementing a state channel

I am trying to build a platform to play TicTacToe using DApps. The players invite others by placing a stake and then opponents accept it. The first turn is recorded on chain by calling a function in ...
Sanjay S B's user avatar
  • 1,329
7 votes
2 answers
2k views

Offchain vs Sidechain vs StateChannel

What are the main differences between off-chain, sidechain and state channel? And what are the use-cases of all of these?
Meet Siraja's user avatar
1 vote
1 answer
36 views

ELI5 the differences between sprites and traditional payment channels

There has been interest[1][2] lately in sprites-style payment channels. Could someone provide a quick comparison?
Paul Razvan Berg's user avatar
0 votes
1 answer
287 views

“state channel” v.s “micro-payment channel” : are they the same?

We use "micro-payment channels" such as "Bitcoin Lightning Network" or "Duplex Micro-Payment Channels" for saving transaction fee, accelerating payments, supporting better micro-payment and scaling ...
Questioner's user avatar
  • 2,670
0 votes
1 answer
2k views

"UPDATED : " "VM Exception while processing transaction: revert"

I tested signature verification of the code presented HERE as follows: running testRPC : root@ubuntu:/home/s# testrpc EthereumJS TestRPC v6.0.3 (ganache-core: 2.0.2) Available Accounts =============...
Questioner's user avatar
  • 2,670
1 vote
0 answers
216 views

What is missing to make a successful payment between payer and recipient?

I tested both signing payment and signature verification that is implemented by JavaScript and EthereumJS here: And both of them (signing and verification) properly work, meaning that I am sure the ...
Questioner's user avatar
  • 2,670
1 vote
2 answers
243 views

Nonce in Layer 2 State Channels

In Layer 2 Solution of Ethereum (State Channels), what I don't get is what about nonces? If we signed a state channel Tx with 13 nonce and don't put it on the chain for now, then if I make another Tx ...
Sowmay Jain's user avatar
0 votes
1 answer
48 views

If a malicious party attempts to close a Raiden payment channel with incorrect balances, can they steal the deposit?

If a malicious party attempts to close a Raiden payment channel with incorrect balances, can they steal the deposit if the other party doesn't respond? If they close the channel and transmit that ...
John Murphy's user avatar
1 vote
2 answers
578 views

"Micro-payment Channel" on Ethereum?

Is there any payment channel on Ethereum blockchain to support ex. Micro-payments ? Similar to the payment channels listed here : https://en.bitcoin.it/wiki/Payment_channels Such that we are able to ...
Questioner's user avatar
  • 2,670
4 votes
1 answer
126 views

Which state channel state is honest?

If Alice and Bob open a state channel with each other, for example a payment channel, and the state is as follows: Alice initial balance: 1ETH Bob initial balance: 1ETH Bob sends Alice 0.20ETH Alice ...
insou's user avatar
  • 256
1 vote
2 answers
344 views

Are Ethereum State Channels unidirectional or bidirectional? [duplicate]

Could anyone please tell me if the state channels are unidirectional or bidirectional? Also, if a node goes off-line with an open channel, is it still able to receive transactions? I mean, not to sign ...
Yining Hu's user avatar
1 vote
0 answers
382 views

What's the difference between a side chain and a state channel? [duplicate]

I hear them almost used interchangeably, and I was wondering what the technical difference is so that I can use the terms correctly. From my understanding, a sidechain is a subset of a state ...
thefett's user avatar
  • 3,865
1 vote
2 answers
2k views

Sign and Verify transaction offchain

I want to sign and verify a transaction offchain, but I can't really find a proper example/documentation online from start to finish that explains the whole process. Can somebody point to some ...
ranchalp's user avatar
  • 540
1 vote
1 answer
70 views

How signed messages are sent when using Ethereum Payment Channels

So I've read Ethereum Payment Channel in 50 Lines of Code and have the general gist of how the contract works. But I don't understand how the signed messages are transmitted between Alice and Bob. ...
user1938620's user avatar
4 votes
1 answer
493 views

Is there any architectural difference between Lightning and Raiden?

Lightning and Raiden are payment channel networks for Bitcoin and Ethereum respectively. Is there any difference between these projects in terms of architecture, or is Raiden simply an Ethereum ...
Sergei Tikhomirov's user avatar
1 vote
1 answer
55 views

How, precisely, a payment can be routed through N hops in a lightning network?

The question Alice <--50--> Bob <--50--> Steve <--50--> Anna Here, each arrow denotes a payment channel with capacity N eth. What is, step by step, the algorithm used to route a 10 ...
MaiaVictor's user avatar
  • 3,177
1 vote
2 answers
357 views

Are there any projects/applications using raiden network (or state channels in general) on ethereum?

http://raiden.network/ - This is a promising project leveraging off-chain state networks. Are there any early adopters for this technology ? I couldn't find any examples or sample applications on ...
trivikramak's user avatar
4 votes
1 answer
80 views

Do state-channels only work for transactions that affect the sender negatively?

Mind the payment-channel case: Parties A and B lock the state of their balances, S0, on the blockchain. A makes a transaction by updating the state to S1, signing it and sending to B. B makes a ...
MaiaVictor's user avatar
  • 3,177
16 votes
3 answers
4k views

What are State Channels and use case/code examples?

A previous Reddit post gave some indication: It's basically Lightning-network style payment channels but for arbitrary state updates. Participants in the Dapp send messages with transactions to ...
Alan Wunsche's user avatar
  • 1,655