Guys, can someone help me?

Why does this easy code not working on ropsen test network. And works on js vm only?


// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;

contract Counter {
uint public count;

// Function to get the current count
function get() public view returns (uint) {
return count;
}

// Function to increment count by 1
function inc() public {
count += 1;
}

// Function to decrement count by 1
function dec() public {
count -= 1;
}
}

Jul 20, 2021, 9:56 AM
I deployed it, but i not see anything on read contract section
Jul 20, 2021, 9:57 AM
you can make a script to interact with the contract
that does work
Jul 20, 2021, 10:25 AM
I trying to interact with it on Read contract section on etherscan (i expect to see buttons there, but there is nothing on that page)
Jul 20, 2021, 10:37 AM
you have to verify for etherscan
download the hardhat etherscan plugin
if your using hardhat
then do: npx hardhat verify address
with VS code
Jul 20, 2021, 10:38 AM
I use remix) and deploy through it
Jul 20, 2021, 10:38 AM
then download the etherscan remix plugin
and 1000X better UI with VS code
Jul 20, 2021, 10:39 AM
So my wallet is just not allowed to interact with this contract?
Jul 20, 2021, 10:39 AM
no
you need to verify the contract on etherscan
to interact with it
Jul 20, 2021, 10:40 AM
bro in linux it `s work and runed interface uniswap
Can I run Uni Swap on Polygon? What are its limitations?
Jul 20, 2021, 3:50 PM
yep
it works
since poly is an EVM supported chain
Jul 20, 2021, 4:35 PM
Quickswap is Uniswap clone
Didn't even change contract name lol
Jul 20, 2021, 4:37 PM
Every *swap is a clone of uniswap 😝
Jul 20, 2021, 4:37 PM
They didn't even changed contract name. On explorer, contract name is uniswaprouterv2 :))
Jul 20, 2021, 4:38 PM
send addr
and how much you need
Jul 20, 2021, 4:39 PM
10 bnb
Jul 20, 2021, 4:39 PM
I have 0.9k bnb
Jul 20, 2021, 4:39 PM
😳😳
Jul 20, 2021, 4:39 PM
wtf 😂😂
Jul 20, 2021, 4:41 PM
addr?
or arbitrum
Jul 20, 2021, 4:44 PM
Lmao how
Jul 20, 2021, 4:48 PM
CZ gave me a bunch of testnet BNB for being a good boy :P
Jul 20, 2021, 4:48 PM
😎
Jul 20, 2021, 4:49 PM
bro, i dont want to bother you but, if you could even i would like small amount of testnet bnb 😅
Jul 20, 2021, 4:50 PM
how much?
send address
no address?
can't help then
Jul 20, 2021, 4:51 PM
oh i don`t now this
Jul 20, 2021, 4:53 PM
I'm the bsc testnet faucet of this chat :P
Jul 20, 2021, 4:53 PM
Sorry i would give later currently have some work
Jul 20, 2021, 4:54 PM
k
Jul 20, 2021, 4:54 PM
hahah
i was in need some days ago
good to know
Jul 20, 2021, 4:56 PM
🤣🤣
Jul 20, 2021, 4:56 PM
testnet is 10 gwei, its a steal hehe
Jul 20, 2021, 4:56 PM
bro how i can connect uniswap interface to my network ?
Jul 20, 2021, 4:57 PM
You should buy faucet.spaceowl.eth 😂
Jul 20, 2021, 4:57 PM
😂😂
Jul 20, 2021, 4:58 PM
technically i already have that
as it would be a subdomain on my ens name
Jul 20, 2021, 5:04 PM
bsc ,kcc are clones of ethereum, so you will find a lot of eth to bsc to kcc clones
Jul 20, 2021, 5:04 PM
change 'mainnet' with whatever chain id/name poly is on ethers
Jul 20, 2021, 5:05 PM
where is in project interface uniswap?
Jul 20, 2021, 5:17 PM
just find "mainnet" and replace
over the entire directory
outside of node modules ofcourse
in the 'src' folder
Jul 20, 2021, 5:22 PM
tnx bro let me check
Jul 20, 2021, 5:58 PM

© 2024 Draquery.com All rights reserved.