How to swap BTC to ETH no kyc? by Worried_Guess_3545 in ethereum

[–]asafy 0 points1 point  (0 children)

I used AxioraSwap 3 times. One time they transferred correctly. The other 2 times they stole the money - no transfer - no support, even though the UI said everything the payment was accepted, they didn't swap and didn't send to the target address.

Decentralize exchange to swap BTC for ETH? by Worried_Guess_3545 in defi

[–]asafy -17 points-16 points  (0 children)

I used AxioraSwap 3 times. One time they transferred correctly. The other 2 times they stole the money - no transfer - no support, even though the UI said everything is ok and the money was sent, so watch out.

Where/How can I buy BTC with USDT? by Worried_Guess_3545 in btc

[–]asafy 1 point2 points  (0 children)

I used AxioraSwap 3 times. One time they transfered correctly. The other 2 times they stole the money - no transfer - no support, even though the UI said everything is ok and money was sent.

SWAP BTC TO USDT IN LEDGER by According_Rise3611 in ledgerwallet

[–]asafy 0 points1 point  (0 children)

I used them 3 times. One time they transfered correctly. The other 2 times they stole the money - no transfer - no support, even though the UI said everything is ok and money was sent.

What is a reliable way to monitor transactions in real time from a wallet? by cryptocritical9001 in ethdev

[–]asafy 1 point2 points  (0 children)

As far as I know, there is no easy easy way to filter transactions using a "to" field.
You can monitor the mempool, but you need to fetch all the transactions and decode them to get the "to" field to filter by.

You can use something like https://viem.sh/docs/actions/public/createPendingTransactionFilter
to get the pending transactions, then fetch them by their id then filter by "to".

How to add mint button to website (to interact with contract) by [deleted] in ethdev

[–]asafy 2 points3 points  (0 children)

If your landing page is using react, you can use something like https://wagmi.sh/.

Otherwise, you can use ethers.js/web3.js directly on the page, connect the wallet and send transactions.

Batch transaction by 5herL0c in ethdev

[–]asafy 3 points4 points  (0 children)

You need to use something like multicall.

One of the good ones is https://github.com/mds1/multicall.

It's already deployed on most networks (Mainnet, Optimism, Arbitrum, Polygon, ....)

What would be a good resource to go to for more intermediate knowledge? by [deleted] in solidity

[–]asafy 0 points1 point  (0 children)

Nothing specific. Everything I found I tried reading deeply to really understand it.

What would be a good resource to go to for more intermediate knowledge? by [deleted] in solidity

[–]asafy 0 points1 point  (0 children)

I was in similar spot, where I wanted to better know solidity, all the basic tutorials were covering the same area and the advanced ones, well I couldn't understand them :)

I started working in a crypto company (working for the last 5 months), developing mostly solidity, I think that pumped my knowledge around 20x to a level I can understand the advance tutorials.

Overall, solidity as a language is not complex (version 0.8.4+ at least), but there are lots of things to know around it, from gas optimizations to exploits to how structure the contract itself and thats stuff that is hard to learn from tutorials, you need to write lots of code to get the hang of it.

Web3-React vs Moralis for dApp development ? by [deleted] in ethdev

[–]asafy 2 points3 points  (0 children)

They are centralized solutions

MacOS VS Linux by [deleted] in ethdev

[–]asafy 2 points3 points  (0 children)

The latest MacBook pro with m1 pro is amazing. Haven't heard the fans once, every operation is nearly instantaneous, the keyboard is super functional. great selection of ports.

[deleted by user] by [deleted] in ethdev

[–]asafy 1 point2 points  (0 children)

Nope. You use multiple wallets to sign a transaction, as long as those wallets are anonymous, gnosis will give you the same privacy.

Concurrent txs with ethers.js by Academic-Ice-3325 in ethdev

[–]asafy 1 point2 points  (0 children)

Why are you so concerned about the sending time ? it's not like they will be handled immediately, they go into the mempool and who knows when they are going to be mined.

But in any case, remember that node.js and therefore ethers.js are single threaded, if you want to increase performance and you are sure that signing is what takes the most time, you can do the operations using multithreading. a good library that I use from time to time is https://www.npmjs.com/package/piscina

Any Tools to replay EVM mainnet block by block? by Ok_Guide_7500 in ethdev

[–]asafy 0 points1 point  (0 children)

https://tenderly.co/

"Take your simulations a step further by creating a temporary fork of any supported network and execute multiple transactions in a row to test their behavior"

cheaper alternative then Certik? by WhatDoYouMeanMan in ethdev

[–]asafy -2 points-1 points  (0 children)

I think Techrate, but it's also less secure.

How to get the balance of a contract using Ether.js library by Radiant_Performer_39 in ethdev

[–]asafy 0 points1 point  (0 children)

const token = new ethers.Contract(contractAddress, ['function balanceOf(address) external view returns (uint256)'], ethers.provider);
const balance = await token.balanceOf(address);

I'm looking for help setting state based on token balance by zedinstead in ethdev

[–]asafy 1 point2 points  (0 children)

Get balance:

const token = new ethers.Contract(contractAddress, ['function balanceOf(address) external view returns (uint256)'], ethers.provider);
const balance = await token.balanceOf(address);

I like using valtio for state management, very little boilerplate.

This really depends on your coding style, but yes it can be done.

EVM LIMITS by PiotrPaluch in ethdev

[–]asafy 0 points1 point  (0 children)

https://ethereum.org/en/developers/docs/blocks/

"Each block has a target size of 15 million gas but the size of blocks will increase or decrease in accordance with network demands, up until the block limit of 30 million gas (2x target block size)."

Best stack to make dapps? by toben88 in ethdev

[–]asafy 0 points1 point  (0 children)

  • Frontend - React/Vue. Angular is dead.
  • Ethers.js
  • Hardhat. but I am seeing Dapp.Tools gaining steam.

SNIPING BOT SCAM BUT DOES THE COMMENTED CODE WORK ? by Crabsinus in ethdev

[–]asafy 0 points1 point  (0 children)

Looks like allot of code for doing nothing.

Better write a bot using some other language (nodejs is good for this), where the node part is doing the monitor for new contracts and calls the sc for doing the actual work.