Questions tagged [smart-contract-wallets]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
333 views

Deploying a contract that inherits GnosisSafe from another smart contract

relative beginner to both Solidity and Gnosis here, so please bear with me :) I have the following contract: contract MyCustomWallet is GnosisSafe { using GnosisSafeMath for uint256; ...
David Lee's user avatar
4 votes
2 answers
1k views

How do i read the value returned by a method in my smart contract in web3j

I'm following a tutorial in which the instructor is calling contract.getConuter().send this returns the value of the counter on smart-contract but in my case, it's returning TranscriptReciept object. ...
Shoaib Kakal's user avatar
1 vote
1 answer
322 views

Transfer ERC20 tokens of a smart contract

I have an smart contract where people had to send some ETH using a simple transfer. Some of them transferred ERC20 tokens and not ETH. Is there a way of sending this ERC20 tokens back to it's owners? ...
Josep Bové's user avatar
1 vote
2 answers
772 views

Who pays gas fee for ERC-20 token transactions in exchanger?

i am developing an exchanger as a hobby project in next js. I am just starting to learn about blockchain. I am generating new deposit ethereum addresses for every user. Now my main confusion is, when ...
Haren Sarma's user avatar
0 votes
1 answer
58 views

I want to pay gas fee from contract, Is it possible? [duplicate]

// here is my contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; ...
Ilyas Khan's user avatar
5 votes
2 answers
5k views

What are some reliable multisig wallet solutions for Ethereum?

so I partnered up with 4 people that we work on a project. It is not that we dont have some basic level of trust with each other but we would like to have some added reassurance when it comes to ...
papajo's user avatar
  • 171
2 votes
2 answers
1k views

calling smart contract function from React

I am calling smart contract function in Solidity from React, which should count the votes for the specific choices. The function works perfectly when I call it from my truffle console. However, when I ...
Timotej Arnuš's user avatar
1 vote
2 answers
2k views

Bridge between Ethereum networks

I’m interested in building a bridge between Ethereum Mainnet and Ropsten testnet. The user will send USDT/ETH to the mainnet contract and will receive tokens on Ropsten(and the other way around). What ...
Mellon98's user avatar
1 vote
2 answers
139 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
1 vote
2 answers
660 views

Can retire funds from a smart contract

I deploy a smart contract and I provide it with some eth. Now I want the amount I did provide. Ideas? pragma solidity ^0.5.0; // Multiplier-Finance Smart Contracts import "https://github.com/...
whybor's user avatar
  • 11
1 vote
2 answers
148 views

gas now strategy doesn't work

When I'm using GasNowStrategy("fast") in my contract deployment I get an error: from brownie.network.gas.strategies import GasNowStrategy def main(): dev = accounts.add(config["...
OmerS's user avatar
  • 13
1 vote
1 answer
114 views

Why isn't this dutch auction returning the price or working?

I have set up a dutch auction with the specifics mentioned here: What is expected in setting up the following dutch auction? But it keeps reverting and doesn't seem to be returning the price which is ...
Mehsil sem's user avatar
1 vote
2 answers
531 views

What are Solidity Events in Etherscan?

When you go to a deployment contract on Etherscan, which are 0x addresses just like wallets, they have a tab called "Events". What are Events and how come only these deployment contracts ...
user610620's user avatar
  • 1,518
0 votes
1 answer
620 views

Calling contract function to send ETH from contract to wallet only shows gas on metamask transaction

I have the following smart contract function that is supposed to be called from a web app, using ethers and Metamask, running on Hardhat localhost blockchain. Its purpose is to send the specified ...
Laurentiu Neacsu's user avatar
0 votes
0 answers
30 views

Is there a way to bridge another wallet to my smart contract to retrieve the finds wrongfully sent there? Or selfdestruct it to get funds back? [duplicate]

So my wallet was used to create a smart contract on the Remix ethereum website. The code used to initiate this contract has malicious intent in which once I try to withdraw my tokens, they will be ...
Jorge's user avatar
  • 1
0 votes
2 answers
2k views

Solidity Smart Contract - Split and Send Contract ETH Balance Between Two Accounts

Want to start off by saying thanks in advance. I'm very new to solidity, so really appreciate your time. I've built a basic smart contract for testing purposes, and I'm running it on Remix. I want to ...
sandyk47's user avatar
0 votes
1 answer
72 views

Is there anyway to implement Proof of stake (PoS) in Ethereum?

I am looking for a mechanism that implements Proof of stake (PoS) in ethereum. I am working on a mechanism that closely related to PoS, however, I do not find any other platforms. I was hoping that ...
monir zaman's user avatar