Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Cameron Sajedi
    @csajedi
    Hello again, I am looking forward to the developer chat. Where should we expect to meet? Will the channel/format be announced here?
    Cameron Sajedi
    @csajedi
    I'm trying to deploy a contract, which I've checked with a local installation of scilla checker and savant IDE. However, whenever I try with the python sdk it just hangs till timeout then replies with an array [9,1]. Golang SDK lacks the functionality, official JS SDK, zilpay deployer don't seem to function either. If anyone here has successfully deployed a complicated contract, how did you do it?
    renlulu
    @renlulu
    hi @csajedi actually golang sdk supports that feature, can check https://github.com/FireStack-Lab/LaksaGo/blob/master/contract/contract_test.go
    lehisnoe
    @lehisnoe
    Hello
    When new zil node starts sometimes it can't rejoin: https://pastebin.com/VNAgV2Ts
    Is there some way to rejoin except node's restart?
    lehisnoe
    @lehisnoe
    Because restart didn't helps always
    Cameron Sajedi
    @csajedi
    @renlulu awesome, I didn't know there were two golang sdks. I'll test this one out today.
    Vladimir Protasevich
    @Snuff
    Hey guys, how Zilliqa SDKs use protobuf?
    Cameron Sajedi
    @csajedi
    @Snuff the .proto file just specifies the wire format for a transaction to the zilliqa blockchain. It is not intrinsically used as part of a gRPC or other service generator, it was just pulled out of the core network's message standards to keep types and interfaces consistent across languages and SDKs. There are other messages in the zilliqa core that don't show up in the SDKs because really, from the outside of the participating nodes you don't need to worry about anything but composing and sending transactions in a safe manner.
    DaoChemist
    @DaoChemist_twitter

    Hey everybody, we'll be having our second dev community call this Thursday! Join in if you can (we'll have a recording as well):
    Gary Mensah is inviting you to a scheduled Zoom meeting.

    Topic: Zilliqa Dev Community Call #2
    Time: Sep 5, 2019 09:30 PM Singapore

    Join Zoom Meeting
    https://zoom.us/j/311147972

    One tap mobile
    +16465588656,,311147972# US (New York)
    +17207072699,,311147972# US (Denver)

    Dial by your location
    +1 646 558 8656 US (New York)
    +1 720 707 2699 US (Denver)
    Meeting ID: 311 147 972
    Find your local number: https://zoom.us/u/aduFNnTYoL

    Vladimir Protasevich
    @Snuff
    @csajedi thanks, my team is working on Ruby SDK for ZIL. For example, Swift SDK implemented protobuf integration for some reason, so I want to understand the underlying cause of it and decide to keep protobuf or get rid of it then.
    CreateTransaction RPC method takes JSON as input, not protobuf it seems
    Vladimir Protasevich
    @Snuff
    @jcyinnovations Hi, regarding the lag between submitting a transaction and its appearance on viewblock, unlike ETH or BTC Zilliqa hasn't implemented pending transactions feature yet. So that's currently impossible to get pending transactions to display them on viewblock. Hope this feature will be implemented soon.
    Vladimir Protasevich
    @Snuff
    @csajedi Ok, I got it, protobuf is used in sign transaction function
    Vladimir Protasevich
    @Snuff
    Has anyone already built native multisig based on Schnorr?
    Amrit Kumar
    @AmritKumar
    @Snuff There is a Ruby SDK that you can use off the shelf.
    renlulu
    @renlulu
    @csajedi this one is maintained my me, just let me know if you have any issue
    @Snuff sorry? but each sdk use the same proto.buf file I think, and use the specific tool provided by google to generate target code
    Vladimir Protasevich
    @Snuff
    @AmritKumar, thanks, I know. I have been using it for a while, it one of the most user-unfriendly SDKs ever, so I decided to help Zilliqa and my team has started working on an upgrade
    I discussed that with Han Wen already
    Joel Yarde
    @jcyinnovations
    Good morning all. How do I identify a transaction type on JSON-RPC?
    Here's a request/response pair:

    curl -d '{
    "id": "1",
    "jsonrpc": "2.0",
    "method": "GetTransaction",
    "params": ["64fde0551b64248cfb111d81dd20adf684e2de26d6453caa556ca49b3cb64c49"]
    }' -H "Content-Type: application/json" -X POST "https://dev-api.zilliqa.com/"

    {
    "id": "1",
    "jsonrpc": "2.0",
    "result": {
    "ID": "64fde0551b64248cfb111d81dd20adf684e2de26d6453caa556ca49b3cb64c49",
    "amount": "0",
    "gasLimit": "100000",
    "gasPrice": "10000000000",
    "nonce": "7",
    "receipt": {
    "cumulative_gas": "11452",
    "epoch_num": "696426",
    "success": true
    },
    "senderPubKey": "0x02F169504B7ED8E69A7F2B07DCC0F246D6000B686873E5EF3D82B10F86994F2E37",
    "signature": "0x7E09F78A4F924FF734E1A1CC0991100BB3C5720DE778907502B44CF985CAA945B0D538B040B619F2B771BDC935F8861C3CB248EC4CBECCB7832531DC3EE06DBB",
    "toAddr": "0000000000000000000000000000000000000000",
    "version": "21823489"
    }
    }

    ViewBlock is able to label all transactions by type but I can't see anything in this JSON-RPC response to allow that
    Vladimir Protasevich
    @Snuff
    @AmritKumar @evesnow91 could someone check this issue Zilliqa/Zilliqa#1797, it's a show stopper for us
    Cameron Sajedi
    @csajedi
    @Snuff This also confused me at first, the wire format for the Zilliqa RPC is entirely JSON. Protobufs are not used externally, I haven't double checked they aren't used internally either. It's a bit of a hassle because JSON is not by default safe to sign and send. Protobufs are backed by predictable byte structures and stronger typing. Using a .proto file does help mitigate these problems however.
    Chris P
    @christinto
    hey team
    playing around with dapps on testnet
    just wondering where to get testnet zil?
    Amrit Kumar
    @AmritKumar
    There is a faucet available
    wdwd5wd
    @wdwd5wd
    Hi team
    Amrit Kumar
    @AmritKumar
    Hello
    wdwd5wd
    @wdwd5wd

    Could anyone please kindly tell me how I can deploy my own private testnet with multiple machines?

    I know I can run a local testnet for a single machine following the instruction.

    Eugene Domosedov
    @ID25
    Hi team
    Using Ruby SDK, when trying to create smart contract and deploy it, i got error
    example from readme smart contracts - same story
    Server error -26: CHAIN_ID incorrect
    What i can do?
    Eugene Domosedov
    @ID25

    the problem above is not relevant, now when i create a new smart contract
    i got response

    {"ContractAddress"=>"1e366b36e5a17dec83c46f19d8d6b43434bd1dbb",
     "Info"=>"Contract Creation txn, sent to shard",
     "TranID"=>"411c1108800ac85118fcd9a44568d208276dcbdd5287c99119c69167912f344a"}

    but transaction is not created, error - Txn Hash not Present
    relevant question without answer - Zilliqa/Zilliqa#1776

    Amrit Kumar
    @AmritKumar
    @ID25 Are you on testnet on mainnet?
    Eugene Domosedov
    @ID25
    @AmritKumar mainnet
    Eugene Domosedov
    @ID25
    @AmritKumar i tried create contract in testnet, the same error Txn Hash not Present
    Amrit Kumar
    @AmritKumar
    @ID25 Could you post your code?
    I mean the contract code and the init.json?
    Eugene Domosedov
    @ID25
    @AmritKumar init.json it is GetSmartContractInit value?
    Eugene Domosedov
    @ID25

    @AmritKumar

    contract params

    gas_limit=2561,
    gas_price=1000000000000,
    id=nil,
    nonce=nil,
    sender_pub_key="032cfec301c57.....", 
    version=21_823_489
    to_addr: '0000000000000000000000000000000000000000'
    amount: '0',
    code: @code.gsub('/\\', ''),
    data: @init.to_json.gsub('\\"', '"')
    Amrit Kumar
    @AmritKumar
    @ID25 Is it possible to pass me the contract code?
    My first guess would be the gas limit is low.
    DaoChemist
    @DaoChemist_twitter
    Hey everybody, we are moving to Discord! The Zilliqa Official server is live:
    we will keep Gitter around for a while, but our attention and support will be mostly happening on Discord from now on.
    Eugene Domosedov
    @ID25

    @AmritKumar

    I mean the contract code and the init.json?

    contract code - https://gist.github.com/ID25/cf643e8b2b170640b1ce3dd7f2bf6e91
    i try to create smart contract in both mainnet, testnet, but transaction hash not present

    Amrit Kumar
    @AmritKumar
    @ID25 Please check Discord.