Questions tagged [smart-contract-wallets]

The tag has no usage guidance.

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

How to implement crypto refunds in a smart contract?

I am quite new to cryptocurrencies and after some investigation I thought this might be the right place to ask. Problem: I have a small business and I would like to offer to my customers the option to ...
0
votes
0answers
22 views

Gas estimation failed when send a transact

When I run sendDeposit function, everything works fine, but when I try to run startSession function an error saying : "Gas estimation errored with the following message (see below). The ...
0
votes
1answer
24 views

How to write a smart contract for access level (read/write)?

I have seen a couple of tutorials on how to code smart contracts, but I can not quite gather how to write one for permission and access level on a blockchain. How can you grant access to a user to ...
0
votes
1answer
17 views

How to determine percent stake in a token?

I'm working on an experiment that distributes some number of tokenB to people who own tokenA. the distribution of tokenB is dependent on what percent of tokenA is owned. is it even possible to ...
0
votes
0answers
21 views

Build and interact with contract

I'm developing a new token and I'm curious how I can interact with the token after is build and deployed. For example: Token1 has 10M tokens of total supply, I want people to can get those tokens, how ...
1
vote
1answer
19 views

Exchange Deposit Smart Contract

I'm developing ETH and ERC20 tokens deposit service. for every user I need unique wallet address, Can I develop a smart contract to generate unique wallet address for every user? Can I transfer ...
1
vote
0answers
49 views

why aave total supply not equal to circulation supply?

I'm new to the blockchain world. I'm trying hard to understand how tokens are generated and I learned that the tokens are not minable, unlike bitcoin or eth coins. also learned that these tokens only ...
0
votes
1answer
13 views

Smart Contract management

I'm new to blockchain development. I watched a lot of udemy courses about Solidity. I think I understand how smart contracts work but I have 2 questions. Would it be possible to manage an application ...
0
votes
1answer
13 views

Increase values in array

I am increasing the value at a particular index in Solidity but it is giving me bad instruction error. Can anyone tell me what I am missing here? Please check the sample contract for reference: pragma ...
0
votes
0answers
25 views

Are there any simple, simulated smart contracts to try out?

The barriers to buy, sell and trade cryptocurrencies are fairly low. Anyone can try it now. But very few of the same people can say that they've ever tried to enter into a smart contract. Are there ...
0
votes
0answers
14 views

my smart contract is not responding and error saying web3 is not defined

<script> var myContract; async function CheckMetamaskConnection() { // Modern dapp browsers... if (window.ethereum) { window.web3 = new Web3(window.ethereum); try { ...
0
votes
0answers
20 views

Error message: Cannot read property 'eth' of undefined

<script type="text/javascript"> async function loadWeb3() { if (window.ethereum) { window.web3 = new Web3(window.ethereum); window.ethereum.enable(); } }...
0
votes
0answers
14 views

Why does my web3 not execute this smart contract function?

Good day, I am busy with a small project trying to call a buy() function on an Ethereum Smart Contract. This Contract is found on the Ropsten Test Network here:https://ropsten.etherscan.io/address/...
0
votes
0answers
23 views

Running Ethereum Exchange (including ERC 20)

Would it make sense to run the app server and an Ethereum node on the same machine considering how closely they interact? Or should they be on separate machines to not affect each other? What is the ...
0
votes
1answer
16 views

How can I automate smart contract interaction

I've deployed a smart contract to the blockchain with few functions. I want to know how I can interact with the code e.g. > Contract has 2 functions - deposit and withdraw. Now, instead of me ...
0
votes
1answer
50 views

How to call a smart contract function using Nethereum and Infura

I am using Nethereum to call a smart contract function in Ropsten. I am also using Infura. The function required the contract owner's permission to execute. This is my code: var account = new Account(...
0
votes
1answer
25 views

Schedule a transaction without making a deposit

Is it possible in solidity to schedule a transaction without making a deposit and without specifying the amount? As far as I know with the Ethereum Alarm Clock you need to deposit the ethereum and the ...
0
votes
1answer
16 views

Reliable and universal account recovery

I am producing kinda salary system. If somebody loses an account, he or she loses the salary for his entire lifetime!! So need some account recovery. First I wanted to use my own recovery system with ...
0
votes
0answers
24 views

capacity of Ethereum smart contract

I wonder the capacity of smart contract how many smart contracts are signed in a day or a month? how many connections can access to one smart contract at the same time? how many smart contracts are ...
0
votes
0answers
48 views

How to use Exit function on this smart contract in solidity?

This is on Tron but its a pure solidity openzeppelin code so I assume this is the right place to look. https://tronscan.org/#/contract/TEzjbwwYda6WMQAQ8p7GoXq4W3Xo532KJj/code I want to use EXIT ...
0
votes
2answers
50 views

Smart contract ability to query a database

I'm having some concerns while developing smart contract. As I see that, Ethereum blockchain can be known as a distributed database, where transactions are stored as hashes in a block. A smart ...
1
vote
1answer
372 views

what is the cheapest way for sending ethereum from 10 account addresses to 10 account addresses?

What is the cheapest way to send ether to 10 addresses? By using smart contract or using externally owned account to send one by one...? I know that the gas limit of a normal transaction is 21,000......
0
votes
1answer
47 views

How to pass IERC20 as argument in solidity?

i'm trying to deploy sushiSwap on my local machine. but i don't know what should i pass a argument in constructor... code is like... pragma solidity 0.6.12; import "./IERC20.sol"; import &...
0
votes
1answer
22 views

Gas requirement of function problem

I am trying to run below code, but I receive this error "Gas requirement of function Team3_SE427_Call.increaseCount is infinite: If the gas requirement of a function is higher than the block gas ...
1
vote
2answers
151 views

Can someone help me figure out how to get my UNI from an old MCD vault?

So here's my problem: My UNI drop was sent to and outdated instadapp mcd vault at contract address: 0xc653461d3D4c6AD53c16ebE16fa07f820e115139 which i am the owner of at address: ...
3
votes
1answer
982 views

What is DSProxy and how does it work?

Several Ethereum projects use DSProxy to make their protocols more user-friendly. What is DSProxy exactly and how does it work?