Skip to main content
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
Results tagged with
Search options not deleted user 71888

JavaScript is a dynamic, weakly-typed language used for client-side as well as server-side scripting.

1 vote
1 answer
8k views

How to send uint256 and Address types to Smart contract in JavaScript web3/ethers?

Im trying to send a query to Pancakeswap's router function getAmoutsOut here the code for importing the contract using ethers ABI: const router = new ethers.Contract('0x10ED43C718714eb63d5aA57B78B5470 …
Aaron Klich's user avatar
2 votes
1 answer
3k views

How to set a custom gwei / gas price on uniswap/sdk Javascript using ethers.js module?

Im building an app to do trades on uniswap using ethers module. ive created contracts and imported the router and the factory contracts using this code: const factory = new ethers.Contract( addresse …
Aaron Klich's user avatar
9 votes
5 answers
34k views

insufficient funds for intrinsic transaction cost

i've codded a script using js to trigger a buy on uniswap. the way i achieved this is through importing uniswaps smart contracts using this line of code: const router = new ethers.Contract(addresses.r …
Aaron Klich's user avatar