Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Cameron Sajedi
    @csajedi
    I switched from Kaya to the dev testnet because Kaya was rejecting some .scilla contract I'd tested successfully on the Savant-IDE.
    evesnow91
    @evesnow91
    kaya is in need of maintenance help
    Edison is swarmed nowadays. As I explained in the mail
    Cameron Sajedi
    @csajedi
    Ok, I am going to switch to working with the dev testnet for now. Will keep you posted here.
    experience
    @experiencedft
    Would it be possible to build a bridge of some kind for DAI between Ethereum and Zilliqa?
    Amrit Kumar
    @AmritKumar
    Yes, it should be possible.
    experience
    @experiencedft
    Someone mentioned challenges due to the differences in signing algorithm, what would you say about this?
    Amrit Kumar
    @AmritKumar
    Scilla supports ECDSA signature vérification.
    The protocol uses a different signing algorithm though called Schnorr.
    Cameron Sajedi
    @csajedi
    @jeremyid I was exploring doing this with Cosmos. I think its possible, would just take some effort
    experience
    @experiencedft
    Would be great to assemble a small team and try to do it
    I feel like a DAI bridge would be extremely beneficial to both ecosystems
    Amrit Kumar
    @AmritKumar
    Can’t agree more.
    Cameron Sajedi
    @csajedi
    Congratulations to the entire Zilliqa team! Kudos for consistency and outright praise for achieving a robust smart-contract platform. I am looking forward to developing alongside this amazing project.
    Cameron Sajedi
    @csajedi
    @jeremyid I am very interested in this, my metaTransactions project was conceived for much of the same purpose. keep me in the loop regarding team formation, perhaps we can use this repo I started to capture some of my earlier research to coordinate: https://github.com/starling-foundries/zDAI
    Dicontas Ltd
    @dicontas_twitter
    Where can I find out the cost of writing data to the mainnet? I have searched apidocs.
    Amrit Kumar
    @AmritKumar
    @dicontas_twitter You can check out this one: https://forum.zilliqa.com/t/gas-accounting-in-zilliqa/199
    kishankumar258
    @kishankumar258
    In the code of test_zilliqa_local from the github repo of zilliqa , is there no implemented method for createtx to make a transaction between nodes.
    Also, what does method startpow does, I could not get what all to specify in its arguments list?
    experience
    @experiencedft
    @csajedi Sorry for the delay in answering. I'm not exactly a developer myself and I'm more active on Discord, I'll see if I can find anyone who would be interested to help!
    Speaking of Discord, I think it would be nice if the dev discussions could migrate there, there's really no sense in keeping things on Gitter, Discord is in every single possible way superior...
    Dicontas Ltd
    @dicontas_twitter
    @AmritKumar thank you
    Solexplorer
    @Solexplorer
    Hi
    I have a problem with transitions
    field candidatesCount: Uint256 = Uint256 0
    
    transition addCandidate(name: String)
       r <- candidatesCount;
       amountAdd = Uint256 1;
       sum = builtin add r  amountAdd;
       candidatesCount := sum
    
    end
    
    transition getCount()
    
        counted <- candidatesCount;
        e = { _eventname : "getCount()"; count: counted  };
    event e
    
    end
    
    transition Vote()
    
    msg = { _tag : "addCandidate"; _recipient : _this_address; _amount : Uint128 0; name : "Candidate 1" };
    
        msgs = one_msg msg;
        send msgs 
    
    end
    This is what I am trying to do: I am trying to call the addCandidate transition from the Vote transition
    But it doesn't work, I am missing something in the _tag?
    Amrit Kumar
    @AmritKumar
    @Solexplorer Your contract should work.
    Are you trying it on Savant?
    Note that Savant does not support contract to contract calls yet.
    Solexplorer
    @Solexplorer
    Yep
    I was trying it in Savant and calling the function getCount
    experience
    @experiencedft
    @AmritKumar Any word on Discord?
    Amrit Kumar
    @AmritKumar
    I think someone from the community had started a discord channel.
    experience
    @experiencedft
    @AmritKumar It would be great to have an official one, Gitter is really bad I would like to emphasize that
    I am used to running managing Discord servers with bots etc
    I can help you set it up
    I can tell you it will be immensely better for all the devs interested in Zilliqa
    kishankumar258
    @kishankumar258
    I was using the python code of creating transactions from the link https://apidocs.zilliqa.com/?python#createtransaction but got this error after running the provided code for api . Can someone help on that.
    image.png
    evesnow91
    @evesnow91
    You need to import chain
    Solexplorer
    @Solexplorer
    lol
    running the script more times won't solve the issue
    kishankumar258
    @kishankumar258
    @evesnow91 are you talking about this "from pyzil.zilliqa import chain" as mentioned in the api docs for create transaction because I have written this line in the script. Also, the blockchain related scripts such as "GetNetworkId","GetNumTransactions" are running where the chain is being imported.
    Please tell if there's anything that else that I need to import while running the script for "CreateTransaction" as given in "https://apidocs.zilliqa.com/?python#transaction-related-methods" .
    Amrit Kumar
    @AmritKumar
    If you read the error message, it says active chain is not defined.
    It will be better if you could post your code.
    kishankumar258
    @kishankumar258

    from pyzil.crypto import zilkey
    from pyzil.zilliqa import chain
    chain.set_active_chain(chain.MainNet)

    my_key = zilkey.ZilKey(private_key="0xe19d05c5452598e24caad4a0d85a49146f7be089515c905ae6a19e8a578a6930")

    payload = {
    "to_addr": "4baf5fada8e5db92c3d3242618c5b47133ae003c",
    "amount": "1000000000000",
    "gas_price": "1000000000",
    "gas_limit": 1,
    "code": "",
    "data": "",
    "priority": False,
    }params = active_chain.build_transaction_params(my_key, **payload)
    txn_info = active_chain.api.CreateTransaction(params)
    print(txn_info)

    Amrit Kumar
    @AmritKumar
    You just posted your mainnet private key?
    kishankumar258
    @kishankumar258
    I have used test net here in my code and used private and public key for testnet