Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about applications and projects on Ethereum: a decentralized application (dapp) does not require any servers or backends and runs independent on a distributed blockchain.
1
vote
3
answers
286
views
Doubt on contract calling it's own function
Suppose there is a modifier in a contract:
modifier onlySelf() {
require(msg.sender == address(this), "Not Self");
_;
}
If i make a function in this contract like this:
function t …
1
vote
1
answer
46
views
Check my idea on signer
I want to confirm my idea about signer, this is what i know:
Singer is who signs a transaction in mark of acceptance the transaction. When A wants to transact he attaches a signature with the transact …
0
votes
0
answers
61
views
Query on off chain transaction
If I want to use call() to send ether will it be called a off chain transaction?
0
votes
1
answer
58
views
Query on uint256 and int256
need to verify something, suppose i have this:
uint256 a =10;
uint256 b = 20;
uint256 c;
if (b > a) {
c = b-a;
(-c.mul(10)) // i want to multiply with -c intentionally
}
this -c gonna give error, …
1
vote
1
answer
106
views
Query on multisig wallet
All i know about multisig wallet logic is => if someone wants to transact in this wallet he/she need all owner's signature. Am i right?
I need more idea on multisig.
1
vote
1
answer
100
views
I am very confused with this doubt, please clear my doubts
Question: 1
I want to fork Uniswap V3 core and V3 periphery and create a independent contract with some added feature, Forking is easy but the thing confuses me is that how i can re-deploy it onchain …
1
vote
1
answer
11
views
Having doubt with interface
I know that we don't inherit a contract from any interface, we first import it, then we do like this ISomeInterface someInterface = ISomeInterface(address), but i saw this in uniswap document- contrac …
0
votes
1
answer
17
views
Doubt related to offchain
I know that offchain means the logic is stored out side of blockchain. So a contract is deployed to the onchain, and my offchain logic can't be in the contract, if it is in contract then it will be on …
1
vote
0
answers
18
views
Calling public state variable is giving error
I have a public state variable which holds a payable address. I want to get its value by ethers.js. When I call contract.variableName() it is returning contract.variableName is not a function error. W …
0
votes
1
answer
32
views
Need help in minting NFT
This script shows how to mint an nft.
require("dotenv").config()
const API_URL = process.env.API_URL
const PUBLIC_KEY = process.env.PUBLIC_KEY
const PRIVATE_KEY = process.env.PRIVATE_KEY
const { crea …
1
vote
2
answers
106
views
Can't verify an address on-chain
I am working on a project related state channel. The functions related to verification is:
function verify(
address _address,
string memory message,
uint256 nonce,
byte …
1
vote
1
answer
63
views
I want to know all about Mocking
I saw in Patrick Collins's video he used MockV3Aggregator.sol.
What is mocking?
Why we use mock?
How we use mock?
I read that mocking is used for testing, how it is used for testing?
Is there any use …
0
votes
1
answer
20
views
Query on deploying local network
I am following Patrik Collin's solidity course where he is deployed the smart contract first in local network then in testnet. My question is deploying in local network is necessary?
1
vote
1
answer
181
views
Question on Uniswap v3 SDK
I am about to create a dapp with UniswapV3 SDK. I have a very basic doubt, can I deploy that project using hardhat? I am worrying as i creating the dapp using SDK so i might not be able to deploy the …
1
vote
0
answers
20
views
How to add layer 2 with SDk? [closed]
help me to clear my doubt. I am using uniswap v3 SDK to make a dapp. Can I add layer 2 technology with SDK?? If yes then how?