Skip to main content
added 20 characters in body
Source Link
user93353
  • 2.3k
  • 3
  • 24
  • 47

In Vitalik Buterin's write-up on SNARKs Quadratic Arithmetic Programs: from Zero to Hero, he writes

Note that the above is a simplification; “in the real world”, the addition, multiplication, subtraction, and division will happen not with regular numbers, but rather with finite field elements

I assume SNARKs are used in blockchains to hide & also verify the transactions. However, blockchain transactions may involve non-integer amounts (the sender is sending a fractional amount), so how are the private (witness) & public inputs which involve non-integer numbers represented in finite fields?

UPDATE from one of the answers:

Since a Satoshi is 0.00000001 BTC every send/receive transaction can probably be an integer value.

Is there any other stuff on a blockchain which are shielded by zkSNARKs and can have nonon integer values or are these the only thingseverything for which zkSNARKs are used on a blockchain is integer values?

In Vitalik Buterin's write-up on SNARKs Quadratic Arithmetic Programs: from Zero to Hero, he writes

Note that the above is a simplification; “in the real world”, the addition, multiplication, subtraction, and division will happen not with regular numbers, but rather with finite field elements

I assume SNARKs are used in blockchains to hide & also verify the transactions. However, blockchain transactions may involve non-integer amounts (the sender is sending a fractional amount), so how are the private (witness) & public inputs which involve non-integer numbers represented in finite fields?

UPDATE from one of the answers:

Since a Satoshi is 0.00000001 BTC every send/receive transaction can probably be an integer value.

Is there any other stuff on a blockchain which are shielded by zkSNARKs and can have no integer values or are these the only things for which zkSNARKs are used?

In Vitalik Buterin's write-up on SNARKs Quadratic Arithmetic Programs: from Zero to Hero, he writes

Note that the above is a simplification; “in the real world”, the addition, multiplication, subtraction, and division will happen not with regular numbers, but rather with finite field elements

I assume SNARKs are used in blockchains to hide & also verify the transactions. However, blockchain transactions may involve non-integer amounts (the sender is sending a fractional amount), so how are the private (witness) & public inputs which involve non-integer numbers represented in finite fields?

UPDATE from one of the answers:

Since a Satoshi is 0.00000001 BTC every send/receive transaction can probably be an integer value.

Is there any other stuff on a blockchain which are shielded by zkSNARKs and can have non integer values or everything for which zkSNARKs are used on a blockchain is integer values?

In Vitalik Buterin's write up-up on SNARKs Quadratic Arithmetic Programs: from Zero to Hero, he writes

Note that the above is a simplification; “in the real world”, the addition, multiplication, subtraction, and division will happen not with regular numbers, but rather with finite field elements

I assume SNARKs are used in blockchains to hide & also verify the transactions. However, blockchain transactions may involve non-integer amounts (senderthe sender is sending a fractional amount), so how are the private (witness) & public inputs which involve non-integer numbers represented in finite fields?

UPDATE from one of the answers:

Since a satoshiSatoshi is 0.00000001 BTC every send/receive transaction can probably be an integer value.

AreIs there any other stuff on a blockchain which are shielded by zkSNARKs whichand can have no integer values or are these the only things for which zkSNARKs are used?

In Vitalik Buterin's write up on SNARKs Quadratic Arithmetic Programs: from Zero to Hero, he writes

Note that the above is a simplification; “in the real world”, the addition, multiplication, subtraction and division will happen not with regular numbers, but rather with finite field elements

I assume SNARKs are used in blockchains to hide & also verify the transactions. However, blockchain transactions may involve non-integer amounts (sender is sending a fractional amount), so how are the private (witness) & public inputs which involve non-integer numbers represented in finite fields?

UPDATE from one of the answers:

Since a satoshi is 0.00000001 BTC every send/receive transaction can probably be an integer value.

Are there any other stuff on a blockchain which are shielded by zkSNARKs which can have no integer values or are these the only things for which zkSNARKs are used?

In Vitalik Buterin's write-up on SNARKs Quadratic Arithmetic Programs: from Zero to Hero, he writes

Note that the above is a simplification; “in the real world”, the addition, multiplication, subtraction, and division will happen not with regular numbers, but rather with finite field elements

I assume SNARKs are used in blockchains to hide & also verify the transactions. However, blockchain transactions may involve non-integer amounts (the sender is sending a fractional amount), so how are the private (witness) & public inputs which involve non-integer numbers represented in finite fields?

UPDATE from one of the answers:

Since a Satoshi is 0.00000001 BTC every send/receive transaction can probably be an integer value.

Is there any other stuff on a blockchain which are shielded by zkSNARKs and can have no integer values or are these the only things for which zkSNARKs are used?

added 308 characters in body
Source Link
user93353
  • 2.3k
  • 3
  • 24
  • 47

In Vitalik Buterin's write up on SNARKs Quadratic Arithmetic Programs: from Zero to Hero, he writes

Note that the above is a simplification; “in the real world”, the addition, multiplication, subtraction and division will happen not with regular numbers, but rather with finite field elements

I assume SNARKs are used in blockchains to hide & also verify the transactions. However, blockchain transactions may involve non-integer amounts (sender is sending a fractional amount), so how are the private (witness) & public inputs which involve non-integer numbers represented in finite fields?

UPDATE from one of the answers:

Since a satoshi is 0.00000001 BTC every send/receive transaction can probably be an integer value.

Are there any other stuff on a blockchain which are shielded by zkSNARKs which can have no integer values or are these the only things for which zkSNARKs are used?

In Vitalik Buterin's write up on SNARKs Quadratic Arithmetic Programs: from Zero to Hero, he writes

Note that the above is a simplification; “in the real world”, the addition, multiplication, subtraction and division will happen not with regular numbers, but rather with finite field elements

I assume SNARKs are used in blockchains to hide & also verify the transactions. However, blockchain transactions may involve non-integer amounts (sender is sending a fractional amount), so how are the private (witness) & public inputs which involve non-integer numbers represented in finite fields?

In Vitalik Buterin's write up on SNARKs Quadratic Arithmetic Programs: from Zero to Hero, he writes

Note that the above is a simplification; “in the real world”, the addition, multiplication, subtraction and division will happen not with regular numbers, but rather with finite field elements

I assume SNARKs are used in blockchains to hide & also verify the transactions. However, blockchain transactions may involve non-integer amounts (sender is sending a fractional amount), so how are the private (witness) & public inputs which involve non-integer numbers represented in finite fields?

UPDATE from one of the answers:

Since a satoshi is 0.00000001 BTC every send/receive transaction can probably be an integer value.

Are there any other stuff on a blockchain which are shielded by zkSNARKs which can have no integer values or are these the only things for which zkSNARKs are used?

deleted 6 characters in body; edited title
Source Link
user93353
  • 2.3k
  • 3
  • 24
  • 47
Loading
Source Link
user93353
  • 2.3k
  • 3
  • 24
  • 47
Loading