Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    adria0.eth
    @adria0
    Hi. I'm trying to serialize/deserialize affine/projective ECs (https://github.com/matter-labs/pairing/blob/e93d939ae001f8ff97c862542f6e2e2e4d52e217/src/bn256/ec.rs#L14) but fields are crate-protected and I cannot find any way to do it (Zokrates, prints and parses using the Display trait, but only to serialize). Is there any proposal to make this fields accessible or to create a builder/getters for these structs?
    Alex G
    @gluk64
    Hey @adria0, feel free to create a pull request
    What are you working on?
    adria0.eth
    @adria0
    Ok, nice, I'll do it.
    I'm working in https://github.com/iden3/rust-circom-experimental, just another "toy project to learn rust" that becomes bigger.
    adria0.eth
    @adria0
    @gluk64 I'm been trying to pass the tests (cargo test) in pairing, but bn256::ec::g2::g2_generator fails for me in B256 release tags (0.16.0,0.16.1,0.16.2) in stable and nightly. Any idea?
    ---- bn256::ec::g2::g2_generator stdout ----
    thread 'bn256::ec::g2::g2_generator' panicked at 'assertion failed: `(left == right)`
      left: `G2Affine { x: Fq2 { c0: Fq(0x0000000000000000000000000000000000000000000000000000000000000000), c1: Fq(0x0000000000000000000000000000000000000000000000000000000000000000) }, y: Fq2 { c0: Fq(0x2b3f3cefd5b17961811cfc2249abeed27cc5cf2d4f4489570c45f1ccbc09d5c8), c1: Fq(0x0c7adfb22a86647eb1ccb21f2c1cb4b4b5394eaf87993b22deb5f230309f910b) }, infinity: false }`,
     right: `G2Affine { x: Fq2 { c0: Fq(0x1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed), c1: Fq(0x198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c2) }, y: Fq2 { c0: Fq(0x12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa), c1: Fq(0x090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b) }, infinity: false }`', src/bn256/ec.rs:1413:21
    adria0.eth
    @adria0
    (also fails for last 0.18.0, btw is not git tagged)
    Alexander
    @shamatar
    It may have been failing from the beginning, I did use test as a notebook/calculator and may have forgotten to remove those
    adria0.eth
    @adria0
    @shamatar ok!
    Jacob Phillips
    @JacobPPhillips_twitter
    Hey Matter Labs, Really cool project you guys are working on! Other than the ZK podcast, is there anywhere else I can look for more info on the Franklin Network?
    LB_mike
    @whdqkf88_twitter
    Hi!
    Antoine De Vuyst
    @antron3000
    hello, anyone I can ask about the zksync.io tutorial?
    getting a jrpc error when I try to read my committed eth balanance
    balance*
    jenstark
    @jenstark

    Hi Matter Labs. I'm a curious developer. Looking at ZKSync - focused on the privacy aspect of it. I want to ask a question if you don't mind: I noticed in the transactions on the explorer (ZKSync explorer) that the recipient addresses have 0 transactions onchain? I'm assuming these addresses are "1 off destinations" for privacy/confidentiality purposes to preserve the real identity of the receiving address?

    If I were to commit multiple token transfers (separate transactions) to one address, would it show different recipient address on each transaction receipt?

    Thanks and happy new year.
    Alex G
    @gluk64
    Hi @jenstark, and happy New Year!
    Privacy is not in scope of the current version
    jenstark
    @jenstark
    Ok thank you.
    Is there a roadmap for ZKSync?
    Alex G
    @gluk64
    We will publish updates as they appear
    Maciej Zieliński
    @zie1ony
    Hi. Is it possible to compile bellman_ce as no_std package?
    Alexander
    @shamatar
    No, at the moment Vec type is used a lot and GlobalAllocator trait is not stable to be able to use existing collections in no-std environment. You can nevertheless compile it for WASM if it’s what you are interested in
    Maciej Zieliński
    @zie1ony
    Actually I want to use it as WASM file, but without panic handler.
    Alexander
    @shamatar
    Maciej Zieliński
    @zie1ony
    I use https://github.com/paritytech/wasmi so I can use only no_std.
    Alexander
    @shamatar
    I suppose it’s a part of substrate work? Unfortunately I’m not a wasm specialist
    Steve Chen
    @scheneclk_gitlab
    @gluk64 is it possible to include some arbitrary data in the transfer within ZKSync network? some notes attached to a token transfer?
    Alex G
    @gluk64
    @scheneclk_gitlab it will be, but not right now. How do you intend to use it?
    Steve Chen
    @scheneclk_gitlab
    I plan to use it for decentralized token exchange
    thecryptofruit
    @thecryptofruit
    Hi all, kudos for really great project! A quick q: is it planned to run one sidechain to rule them all, or is it envisioned there to be multiple? I take it validators are set in one place on the main-chain. Thanks.
    Alex G
    @gluk64
    It's most efficient if there is only one sidechain.
    Steve Chen
    @scheneclk_gitlab
    @gluk64 Can I set up a dev environment and connect to a local POA network (parity Ethereum)?
    thecryptofruit
    @thecryptofruit
    Could you share the idea of how you envision that private txs will be possible in the future? I've read that amounts will eventually be made private, however anonymity of users would require prohibitive modifications, is that still true? Thanks!
    Aveesh Shetty
    @Aveesh52
    Hey
    Alex G
    @gluk64

    Could you share the idea of how you envision that private txs will be possible in the future?

    The exact scheme will depend on a number of factors. There is definitely utility already in hiding the amounts, although ultimately you need to hide the interaction either. However, level of privacy increases the cost of the transaction. Thus, at the end it will be up to market to see what people are willing to pay for and how far we are with the scalability efficiency by then.

    Drygin Alexander
    @DryginAlexander
    Hello, could you help me to find the implementation of Poseidon_Eddsa for circuit (bellman_ce)? Is it exist?
    Alex G
    @gluk64
    @shamatar
    .
    @notyourkeys_twitter
    Would it be possible to improve on-chain space efficiency by distributing computation of validity proof generation in a zk-rollup? (assuming gained computation power)
    .
    @notyourkeys_twitter
    Could something like github/matter-labs/snarkyGPU be applicable to something like zkSync?
    Nour Haridy
    @nourharidy
    Hey guys, I've read the Zinc v0.1 docs and I can't find any instructions regarding handling tokens/ETH. Can you help me with that?
    @notyourkeys_twitter definitely
    @nourharidy The current scope of Zinc doesn't include support for smart contract operations, it is just pure ZKP for now. However, it will be added once ZKP circuit functionality is stable.
    Drygin Alexander
    @DryginAlexander
    @gluk64 Looks like it is poseidon_hash. I am looking for poseidon_eddsa.
    Alex G
    @gluk64
    oh, I see. @shamatar ?
    Aveesh Shetty
    @Aveesh52
    Hey