codedamn

Installation of metamask

Created by Kshitij about a year ago

0

No description provided

4 Comments

    0

    How can i get the test Networks , after my installation of metamask i only see ethereum mainnet as the only option , no test network

    @ghoshd

    Debpratim Ghosh

    @ghoshd

    0

    In the second last question of Creating an Escrow why do we need to declare the deposit function payable? It had 2 require statements and we didn't carry out any transactions using msg.value

    @arkadatta0193

    Arka Datta

    @arkadatta0193

    0

    I had the same doubt as Arka Datta, but I think the problem is related to the description of the situation. The payer uses the deposit() function to put funds into the contract that act as backing for the money he is sending, defined as "amount". If the contract does not have the same "eths" that the payer wants to send, it does not allow the operation, so the deposit() function must be payable.

    @esrfree

    Erick Sicard

    @esrfree

    0

    can someone pls tell me what's wrong with this code, this code is running successfully on the remix, but in the lab, it shows me some error...

    contract demo {

    function concatenate(string memory str1, string memory str2) public pure returns(string memory)
    

    { bytes memory str_byt1 = bytes(str1);

        bytes memory str_byt2= bytes(str2);
    
        bytes memory sum =  string.concat(str_byt1,str_byt2);
    
        string memory word = string(sum);
    
        return word;
    }
    

    }

    @ankush1234

    Ankush Banik

    @ankush1234

Your comment