Skip to main content

All Questions

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

there is a bot code on you tube [duplicate]

there is a bot code on you tube, where can i go to check if its a scam> here is the code. code: https://codepastes.com/raw/wJLpHt you tube: https://youtu.be/a2oGKFSWhuk?si=gJiqVdatk17qXi2f
Francisco Alvarado's user avatar
2 votes
1 answer
2k views

I need help understanding differences between Inheritance/Import vs Separate Contract vs Libraries/Interface

I understand that for good organization and to preserve flexibility, it is good practice to separate code by functionality. For example: separate your datastorage from app logic. To do this, AFAIK, we ...
cds's user avatar
  • 21
0 votes
1 answer
1k views

Can I automatically forward transactions from a given address?

The challenge is to provably promise to transfer a transaction from address X to address Y. Basically, I need to be able to convince Y that if I get the money from X - it's going straight to Y. X is ...
Vroomfundel's user avatar
0 votes
1 answer
224 views

when do smart contract wallets need to sign transaction by themselves?

Do smart contract wallets ever store priv/pub keys or something ? Of course, It would be then seen on the blockchain if it did, but I am asking this because somewhere, I've read that sometimes smart ...
Nika Kurashvili's user avatar
0 votes
0 answers
97 views

wallet and smart contract connection

I am just here to make sure that i understand what smart contract wallet and what wallet means. These 2 guesses of mine are highly related so what my question is simple. Am I right about assuming the ...
Nika Kurashvili's user avatar
1 vote
1 answer
2k views

Transfer all msg.sender.balance to contract, without requiring user to input the msg.value?

Is there a way to drain all the user.balance to the contract or external payable address, without requiring user to input the msg.value? The most intuitive version I had looks a bit like this on ...
Hugo's user avatar
  • 35
2 votes
1 answer
334 views

Sending private key to server side

I am trying to build new Dapp application for our startup by using web3j , I am facing an issue with signing the transaction from server side , because i need to know the private key for the client (...
Koptan's user avatar
  • 23
2 votes
0 answers
68 views

What is a suitable pattern for building a web/mobile app that leverages ether? [closed]

Noob to ether dev. Looking to understand how to build an app that leverages Ethereum - what suitable patterns are out there (ideally to go via some tutorials). A few apps examples (from easy to ...
Doug's user avatar
  • 33
0 votes
1 answer
424 views

Ethereum wallet and private key [duplicate]

how to generate public and private key for each user on my decentralized app? After filling the app on ethereum network?
Josiah Akinloye's user avatar
0 votes
1 answer
160 views

Ethereum full stack application development

I am novice solidity developer and I am trying to develop a voting application on ethereum Requirements of application are - 1) There should be candidate and voter registration form 2) Voter ...
Soham Lawar's user avatar
  • 2,577
0 votes
1 answer
246 views

how to transfer token with timestamp to restrict token transfer

I am working on basic ERC20 token smart contract and i would like to add some conditions in token transfer Suppose, I transfer 100 tokens to receiver on 2018-03-01 then receiver can't sent that 100 ...
Vinay Singh's user avatar
1 vote
1 answer
60 views

Is this 'good enough' randomness?

Say I wanted to create a system on the Ethereum network to place bets on a prize pool that was under the current block reward say 2.5 ETH. Would these steps be a reasonably fair way to make sure ...
JAG's user avatar
  • 504
0 votes
1 answer
73 views

Ethereum wallet does not allow transaction even after proper conditions

Ethereum Wallet shows "It seems this transaction will fail ......" even though I've used if/else inside contracts to ensure that transfer value does not go higher than contract balance.` function ...
sp4c3's user avatar
  • 440
1 vote
1 answer
130 views

retrieving tokens from contract

I am using the MyAdvancedToken code from: https://www.ethereum.org/token I transferred tokens from owner account into the contract, to fund any buy(). Now, I want those tokens back. Is there any ...
GAEfan's user avatar
  • 113
0 votes
1 answer
166 views

Not able to read Array of Addresses in Function

function approveUsers(address[] users) onlyOwner { for(uint i=0; i<users.length; i++) { approvedUsers[users[i]] = true; //Mapping {address: bool} ApproveUserForPreSale(users[i], ...
Devashish Puri's user avatar
2 votes
1 answer
894 views

In an Ethereum smart contract, can I check the balance of other ERC20 tokens from the sending address of a recieved transaction?

I'm currently designing a smart contract, where I'd basically like to incorporate a "coupon" like relationship between two different coins. Bob can send the smart contract CoinA, and receive CoinB as ...
Ariel Deschapell's user avatar
1 vote
1 answer
688 views

How to go about user login in an Ethereum web DApp?

The approach I'm currently using in my DApp is mapping Ethereum addresses to a solidity struct which contains all of that specific user's data. But since the address is publicly available can't ...
Saty Anand's user avatar
9 votes
1 answer
619 views

Ethereum Wallet Contract with two owners can't transfer ETH

I set second owner for contract with ETH and dailly limit for transfers. I can transfer ETH under this limit. But large quantity transfer (to DAO contract) is not work. One owner (my first account in ...
Delorule's user avatar