Skip to main content

Questions tagged [smart-contract-wallets]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Error handling while fetching account from useWeb3React() hook of '@web3-react/core'

I'm fetching account from useWeb3React() hook and want to detect if there is any error while fetching the value to initiate further operations. How to do it?
soumyadeep.eth's user avatar
0 votes
1 answer
14 views

Why msg.value is not transferred to the owner?

I've deployed a simple wallet contract. The withdraw function goes like this.. function withdraw() external payable { require(msg.sender == owner, "Only Owner can withdraw"); ...
Valli Nayaki Chidambaram's user avatar
0 votes
0 answers
13 views

How to Deploy a Safe Wallet in a Deterministic Way Depending on User EOA Address?

I'm working on deploying a Safe Wallet using the Safe Protocol Kit and Ethers.js. My goal is to deploy the Safe Wallet in a deterministic way based on the user's EOA (Externally Owned Account) address....
Andreas Petersson's user avatar
0 votes
0 answers
20 views

Cannot get Estimate Gas for ETH contract address

Is there any way to get estimate gas for Contract Address ETH? I tried to execute eth_estimateGas methods using NowNodes and QuickNode, but both responds with: { "jsonrpc": "2.0&...
Arkadi's user avatar
  • 101
1 vote
1 answer
18 views

Reentrancy Vulnerability

I've noticed that the offer function uses the .call{value: amount}("") method to send Ether to the recipient's address. Could anyone provide insight into whether this function is indeed ...
serpent0x's user avatar
0 votes
1 answer
19 views

Hi all, I'm having some doubts about a piece of code in the GnosisSafe contract and I hope I can get an answer!

function checkNSignatures( bytes32 dataHash, bytes memory data, bytes memory signatures, uint256 requiredSignatures ) public view { // Check that the provided signature data is not ...
qimeila's user avatar
0 votes
1 answer
16 views

Users service wallet and gas

I have created a service (.NET) that uses Smartcontract. I chose Infura to work with network infrastructure. Everything works fine... recently it occurred to me that I need to add something like user ...
michal's user avatar
  • 13
0 votes
0 answers
16 views

deployer not defined error in smartcontract

hello guys there is an error deployer not defined could you help me finding the error? I have defined deployer in hardhat.config.js whose code i have pasted below and i have commented where deployer ...
vatsal sharma's user avatar
1 vote
1 answer
95 views

Mastering Foundry Basics

I'm interested in learning Foundry. What are the most effective resources and strategies you recommend for getting started with Foundry?
serpent0x's user avatar
0 votes
1 answer
81 views

"message":"execution reverted: arithmetic underflow or overflow"

constructor( address[] memory setupAddys, uint256 _totalTokensForSale, uint256 _softCap, uint256[] memory _Participation, uint256[] memory _Times, uint256 _lpPercentage, ...
asnidar as's user avatar
1 vote
1 answer
22 views

ERC-20 Tokens Stuck on MIST Multisig Contract on the Polygon Network

Help! I can't get access to these tokens.... I have ERC-20 tokens attached to a MIST multisig contract on the polygon network. Here's a contract similar to mine (by not mine). This might actually ...
sisafish's user avatar
0 votes
0 answers
27 views

Fail with error 'ERC20: transfer amount exceeds balance' - Error encountered during contract execution [execution reverted]

https://etherscan.io/tx/0x0b9ee5ffb6ed1b54460e1131094c29e6f914bfd9e35e021f48ca3b9618fdc405 I had an issue during staking $meme in Stakeland. The amount deducted from my Metamask wallet but not added ...
Master Basha's user avatar
1 vote
1 answer
32 views

Seeking DApps that use personal_sign, eth_signTypedData, and eth_signTypedData_v3 with ERC-1271 signature validation

I am currently working on a wallet and encountering challenges with testing signature verification locally. When using viem's verifyTypedData/verifyMessage methods in a local environment, I'm only ...
cmptrwizard's user avatar
1 vote
1 answer
56 views

Deploying Contracts with Multi-Sig Wallet via Safe-Global/Safe App Wallet & Hardhat: Need Guidance

I’m looking for assistance with deploying a contract using either safe-global or the Safe App wallet. My goal is to initiate the deployment with a multi-sig wallet via Hardhat scripts. Can anyone ...
SBansal's user avatar
  • 11
0 votes
3 answers
36 views

How do I know what method is called when swap to my ecr20 token?

I am reading ECR20 code: https://docs.openzeppelin.com/contracts/2.x/api/token/erc20 and understand how it works. What I don't know is that what the method is called when swap other tokens to my ECR20 ...
Joey Yi Zhao's user avatar
1 vote
1 answer
22 views

Smart Contracts data for a thesis on commodity trading

I am considering writing my master's thesis in finance on smart contracts and commodity trading. I would like to conduct an analysis on the trading behavior of smart contracts as opposed to ...
gerscorpion's user avatar
0 votes
0 answers
16 views

Smart Contract on Trust Wallet

After the lock up period of 180 days in a smart contract Ethereum blockchain how can I get my fund back? Should I do anything or it is received automatically?
Mrityunjoy Ghosh's user avatar
0 votes
0 answers
22 views

How can I create new accounts and interact with the blockchain using Ganache (or other testnets)?

I am developing an Android app with kotlin and I want to create new accounts in the blockchain. I am using Ganache as a testnet. I am creating a new Bip32ECKeyPair for every user in the app and I want ...
Nacho's user avatar
  • 1
0 votes
0 answers
11 views

ERC6551 and module style

I would use ERC6551 to introduce accounts as NFTs into the game. I believe that adding a modular style to the account contraption would make it an extensible contraption. However, in contrast to ...
tjtr's user avatar
  • 1
0 votes
1 answer
41 views

I am trying to make a smart contract in solidty to pool user funds and then transfer them to AAVE lending

This is my code. I am not very familiar with solidity. Currently I am just using a hard coded interest rate instead of deriving it from AAVE for testing // SPDX-License-Identifier: GPL-3.0 pragma ...
Kunal's user avatar
  • 1
0 votes
2 answers
67 views

How can i get my ETH back? Amateur used smart contract without any knowledge [duplicate]

I'm probably the dumbest guy 2024. I tried a youtube tutorial where a guy showed how to use a smart contract bot to earn some passive income. I copied everything and started it through remix.ide. ...
acr19041's user avatar
2 votes
0 answers
71 views

How to do a paymaster from scratch?

I just read and learned about the account abstraction concept, and I like it when I know it has a gas-less concept (paymaster). During reading and implementing, I have some questions: If I start ...
Wind's user avatar
  • 21
0 votes
1 answer
36 views

Implement wallet abstraction locally : Do I need a bundler node?

I'm trying to implement wallet abstraction locally using Anvil. I've deployed the required contracts. Now I'm wondering if I have to set up a local node bundler for my local Anvil network to bundle ...
Fantasim's user avatar
  • 101
0 votes
0 answers
4 views

Wrong deposit in KuCoin. The depositor sent the deposit to the contract address

The depositor sent the deposit to the contract address. Is there a way to know who the owner of the contact address is?
Mafi's user avatar
  • 1
0 votes
0 answers
99 views

Can a scammer withdraw from a wallet if I revoke permissions?

A friend of mine went last night to a scam web, clicked on a button and some Pendle tokens were withdrew on the Ethereum blockchain. I checked the transactions and there are two: Approval() and ...
Juan Antonio Tubío's user avatar
1 vote
1 answer
59 views

does account abstraction wallets have different address across different chains?

i was using ambire wallet which is abstraction wallet and it have same account address across differnt chain . but i read it somewhere that abstraction account wallet have different address across ...
MD AZAD's user avatar
  • 60
0 votes
1 answer
38 views

Is it possible to hide wallet address with ZK proofs

We are working with zk contracts on partisia blockchain, so out of curiosity I want to hide the senders address while sending a transaction. Consider a case where we are minting NFTs anonymously, if ...
Aman Mehra's user avatar
0 votes
2 answers
250 views

etherscan showing 0 balance, transaction showing as success, but balance in my contract as 0

Not sure why etherscan.io showing as 0 balance. My Transaction hash# "0x2653135e31407726a25dd8d304878578cdfcc7d69a2b319d1aca4a37ed66956a" is showing as susccess with 0.47 eth. but when i ...
arewe's user avatar
  • 1
0 votes
2 answers
37 views

problem with reverted when testing smart contract

In my smart contract there is a function: function fund() public payable { require( msg.value.getConversionRate(priceFeed) >= MINIMUM_USD, "You need to spend more ETH!"...
vinh nguyen's user avatar
0 votes
1 answer
75 views

Loose ETH making a smartcontract on Remix IDE [duplicate]

First think first- I'm a noob on blockchain/smartcontracts etc... but I really apreciate some help I was copying some youtube videos to make a smart contract on etherum staking with help of AI and win ...
Ruben Godinho's user avatar
0 votes
1 answer
181 views

Set ERC20 token allowance for Smart Wallet Account

I am trying to set USDT(ERC20) token allowance for SWA (smart wallet account) so that the account can interact with an external contract and send USDT to the contract. I am using Alchemy SDK to create ...
Kogelet's user avatar
  • 176
0 votes
2 answers
286 views

How to sign Transactions in smart contract account in erc 4337?

We can create a smart contract account using ERC-4337 right, now using that account we can interact with other smart contracts and it can hold assets, but my query is how can a smart contract account ...
Nishant Shah's user avatar
0 votes
1 answer
102 views

Troubleshooting a Failing Transaction in Ethereum Account Abstraction

I'm attempting to use account abstraction for transactions on the Mumbai chain without a paymaster, where my smart contract wallet pays the fees. Despite following the process and checking against the ...
Shivam Yadav's user avatar
0 votes
1 answer
88 views

SafeERC20 wrapper library triggers foundry errors. How do i get around this?

I wanted to test what the SafeERC20 wrapper contract did, whenever it interacts with a banlisted usdst transfer attempt. But i keep getting weird errors. Is this an inheritance issue? What am i doing ...
user108118's user avatar
0 votes
0 answers
5 views

Using safe wallet in unity

How to use safe, in an unity app? Consider I don’t want the user come out of the app and get redirected to other places to sign anything. I want the whole process take care in the app
bghad1's user avatar
  • 1
0 votes
0 answers
25 views

The receiving account ether's does not increase whilst the sender ether's decrease

I got that function that sends contributions to the smart contract as i thought everything works perfectly when the sender uses it to send contributions his account balance decreases and that line is ...
JOEGREEN's user avatar
1 vote
1 answer
33 views

Using .call to send funds to Smart Contract Wallet account

I have the following function in my smart contract which fails to send funds to a Smart Contract Wallet (SCW). It works fine with standard accounts. I explicitly set gas to 0 because this is an ...
Kogelet's user avatar
  • 176
0 votes
0 answers
7 views

help i neeed somone to tell me [duplicate]

I received that amount from an unknown source. what also troubles me is that my wallet displaces a much larger amount than i received which i cant explain.my gool is to convert that amount to EUR but ...
niko's user avatar
  • 1
0 votes
1 answer
17 views

Im trying to build a cryptocurrency(USD tether just like USD) that works with ethereum and polygon,

I happen to be relatively new to block chain, have an understanding of PoW and PoS, I'm learning Solidity at the moment, I'm supposed to design thi cryptocurrency that is compatible with ethereum and ...
Irum 's user avatar
0 votes
0 answers
62 views

What will happened to my WETH TOKEN if the receiver or the network didn't support WETH TOKEN

I send WRAPPED ETH to a wallet/network which is COINS PH WALLET that has supported ETH ADDRESS, i thought WETH and ETH are the same? Now my problem is how can i possible retrieve my TOKEN?
Omar's user avatar
  • 1
0 votes
0 answers
11 views

UNKNWON TRANSACTION TO MY WALLET

I received that amount from an unknown source. what also troubles me is that my wallet displaces a much larger amount than i received which i cant explain.my gool is to convert that amount to EUR but ...
niko's user avatar
  • 1
0 votes
1 answer
117 views

Consolidate multiple Ethereum accounts

I have multiple Ethereum accounts with pretty small amount of Ether, like equivalent of $20…$50 Is it possible to consolidate all wallets and/or transfer the all coins to a single wallet in Ethereum ...
Xytrax's user avatar
  • 1
0 votes
0 answers
55 views

Kill a smart contract where my funds are currently stuck inside

I am the owner of the contract however I didnt write it but have some funds stuck inside, when i try to withdraw or run the contract the remix IDE tells me that "Gas estimation errored with the ...
Envestor's user avatar
1 vote
2 answers
201 views

I want to call a contract method using my safe wallet address

I made a safe wallet in my panel safe wallet which is 2/3 signers. I want to use it in my access control for an admin role and use it for calling a transfer method with it only. The problem is when I ...
Helia Marami's user avatar
0 votes
0 answers
28 views

fallen for a scam with fake ether can i recover from this smartcontract? [duplicate]

a friend got called and told that in order to receive his available funds he had to send 5.57 eth to a new wallet of his own on atomic wallet and he would receive 30 ether, he thought it was a scam ...
Suvalley Brondt's user avatar
0 votes
2 answers
25 views

I am new to smart contracts and I am withdrawing amounts in several lots.My question is do I have to complete before bank transfer

After each transfer.It goes to a wallet address but where I want it go.Does smart contracts hold onto it ,until all withdrawals are complete.
Andrew Sinkinson's user avatar
0 votes
0 answers
102 views

Token holdings I need help with the contract im the owner of both wallets the send and receiver

I sent my tokens to another wallet that I own and somehow a contract intercepted it and my tokens are in holding. I believe I can get them back it’s just really confusing to r we the contact and I don’...
Cat's user avatar
  • 1
1 vote
1 answer
25 views

Need help with debugging Error: Definition of base has to precede definition of derived contract

I'm working on a social account recovery feature for smart accounts (ERC-4337) on top of Thirdweb's smart account contract. Link to the codebase I'm getting the error Base has to precede definition of ...
alfheimrShiven's user avatar
2 votes
1 answer
139 views

Is it possible to create a paymaster that use ethers in smart contract wallet as gas payment

In the context of ERC-4337/account abstraction, we know that paymasters are able to sponsor a UserOperation from a smart contract wallet, we can even allow the use of an ERC20 token in a smart ...
swkcoding's user avatar
0 votes
1 answer
71 views

Send Function is not working in test file using ethers.js

I write a wallet smart contract in which one address can send ethers to other addresses. I'm using the HardHat framework and this package. when i use await addr1.sendTransaction( {to: addr2, value: ...
Huzaifa Ahmed's user avatar

1
2 3 4 5
11