Grunzwanzling
  • Member for 3 years, 11 months
  • Last seen more than 2 years ago
What does it really mean to burn tokens?
Accepted answer
6 votes

You are partially correct. You could ether send tokens to an address with an unknown private key, or you could just delete them, if a function like that was implemented when the contract was created. ...

View answer
How is the Two Generals Problem solved with proof of work?
5 votes

PoW (or in fact any consensus algorithm) can't solve the Two Generals/Byzantine Generals Problem. It can only provide a very high and easily verifiable certainty of a transaction being correct. A few ...

View answer
Why BNB (from Binance) is based on ETH?
Accepted answer
3 votes

Building you own blockchain is not difficult, but making it secure is really hard. I am not only talking about writing secure code, but about the entire infrastructure: The security of distributed ...

View answer
Implementing security feature on token contract
2 votes

No, it is not possible to fetch historic values of variables, but you could theoretically log all transactions. Sadly restoring your contract to a previous state would cost way more than the block gas ...

View answer
Geth PoA Clique and 100% transaction finality
1 votes

You can consider a transaction 100% final, if there is an upper limit to network delay between nodes and 51% of validators are honest and have signed your block. If you can't guarantee 51% honest ...

View answer
Must I run node and compile/migrate contracts on AWS Instance for WebDapp?
1 votes

Yes, to interact with the blockchain, you need to run a node.

View answer
Interact with MetaMask via PHP
1 votes

No, this is not possible. PHP is executed on the server, JavaScript is executed in the browser. PHP could theoretically connect to a node that you run yourself on your own server, but not to a node on ...

View answer
Are all eth-tokens the same with respect to speed and security?
1 votes

Yes, transaction speed and security are exactly the same across all Ethereum tokens and smart contracts. Slightly different transaction fees might apply for different implementations, but as long as ...

View answer
how to create multiple owners : Solidity
1 votes

You already use mapping to identify users that have been whitelisted. Why not also use a Map to store the admins? contract Whitelist { mapping(address => uint) whitelist; mapping(address => ...

View answer
light-weight clients and private blockchain?
1 votes

Yes, you are absolutely right. The security of a distributed system heavily depends on the amount of nodes that check and confirm a state update. If only very few nodes have the entire state stored ...

View answer
How does Ethereum avoid Read attacks?
1 votes

This is not really an attack. To read data from the Ethereum blockchain, you need to do one of the following things: Run your own full node on your machine and download the entire blockchain. All the ...

View answer
Smart Contract to participant in ICOs
Accepted answer
0 votes

This if of course possible, but not in the way you would probably like it. Every ICO works differently, so there is no general way to participate in them when you only know the contract address. You ...

View answer
How do I automatically mint ERC-20 Tokens Every time the owner wallet transfers coins
0 votes

You can simply create a function like this: function mint(uint howMany, address to) public returns (bool) { totalSupply = safeAdd(totalSupply, howMany); balances[for] = safeAdd(balances[to], ...

View answer
Should I use the same wallet address everywhere, or different addresses?
0 votes

It really comes down to personal preference. If you want to access a specific contract from different devices, you could use the same wallet on multiple clients, but most people don`t. I personally ...

View answer
Create tokens with dynamic price
0 votes

Your idea is that users request to buy tokens and deposit some amount of ETH without knowing how many (if any) tokens they will get for their money. Why don't you create a function called updatePrice ...

View answer
Is it possible to schedule transactions without locking all the ether right away?
0 votes

No, this would not work, because smart contracts can't invocate themselves. Someone would have to manually send a transaction to the contract to trigger the release of funds. Except for the ...

View answer
function in smart contract to allow owner to burn all the tokens
0 votes

To burn all of the tokens at once you would need to iterate over all elements in balances, which is not possible without modifications to the code, but even with those modifications, a transaction ...

View answer
Implementing a Simple Voting DApp on Ethereum Blockchain
-1 votes

There is a great guide created by the Ethereum Foundation which explains how to create a DAO (Distributed Autonomous Organization). This might be what you are looking for, as it is entirely based on ...

View answer