Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 05 2016 10:31
    @alexvandesande banned @adamskee
  • Mar 16 2016 01:12
    @alexvandesande banned @scbosse
phiferd
@phiferd

nice. Added a log statement before the check:

        emit Played(number, secretNumber);
        if (number == secretNumber) {

output in Remix

{
        "from": "0x038f160ad632409bfb18582241d9fd88c1a072ba",
        "topic": "0x2ed17a434754b5adc8698800cd2ceb72b8e24735a9bfcc62f7b542161a7c2208",
        "event": "Played",
        "args": {
            "0": "12",
            "1": "1154414090619811796818182302139415280051214250812",
            "number": "12",
            "secret": "1154414090619811796818182302139415280051214250812",
            "length": 2
        }
    }
phiferd
@phiferd
This is fascinating. Either I'm missing something obvious, or there is some low level bug here. Again DO NOT PLAY. You won't win.
AllenChong
@AllenChong
hi
how to text comm in cantrract?
phiferd
@phiferd
My guess is that it has something to do with the way uint256 is converted to text. When converted to text, it appears to be a number between 0 and 16, but it's really not.
phiferd
@phiferd
Credit to @MicahZoltu for noticing that the assignment of game.player is overwriting secretNumber. game was not initialized normally, so its storage starts at the same offset as the contact. Assigning the first field of game overwrites the first field of CryptoRoulette. clever. :)
phiferd
@phiferd
Just and FYI, I opened an issue to see if the solidity team can prevent this sort of scam in the future. ethereum/solidity#4315
Bernard-Biolchini
@Bernard-Biolchini
hy there , someone here coud help me with the emit problem ?
Bintorojaya
@Bintorojaya
Hi... I'm Problem Widrawl ETH is etherscan. Pleass solution?
malik19921992
@malik19921992
hello world , how i can build my own cryptocoin , what method , guide to do that
anyone here
????
sounds no one here , uhhhhhhhhhhhhh
uh uh uh
Bintorojaya
@Bintorojaya
Thanx so sucses in Wallet ETH
Eth
@eth_eth87955763_twitter
@malik19921992 eth@consultant.com contact them for rectify
fed master
@FedMaster_twitter
HMM
cryptobuilder2018
@cryptobuilder2018
hi,all
i have implemented ether in my code, i can successfully send ether to other address, now i want to know how can i send ERC20 token to other address? i am doing in c#, but if u guys have in other language example then you can give me or if you have any links
thanks
ixhxpns
@ixhxpns

-------------------version-------------------
Solidity version
Current version:0.4.24+commit.e67f0147.Emscripten.clang
---------------------warnning-------------------
browser/BNBFormat.sol:31:3: Warning: This declaration shadows a builtin symbol.
function assert( bool assertion)
^ (Relevant source part starts here and spans across multiple lines).

-------------------------code-----------------------
function assert( bool assertion) internal pure returns (uint256){
if (!assertion) {
revert();
}

}

WHY has this warnning? how can i clear that?

ixhxpns
@ixhxpns
THX . I understand
Benson
@bensonkb

We are developing a DAPP based on ethereum. Current we are developing based on testrpc and its working perfectly.
We do want to decide on where to deploy DAPP.
Can we deploy on public Ethereum blockchain.

Is there any other variables that need to be considered when deployed a smart contract of the decentralised application other than token in ethereum network ?

What about decentralised private ethereum blockchain.

phiferd
@phiferd
Deploy to the test net first. @bensonkb
Ivan Makarenko
@IvanMakarenko
Hi, can anybody give me more information about "Once the crowdsale page is created, you now need to deposit enough rewards so it can pay the rewards back.". What dose it mean, how calculate it?
bitcoinpure01
@bitcoinpure01
how to find constructor arguments at the end of byte code
bitcoinpure01
@bitcoinpure01

@bitcoinpure01
Error! Unable to verify source code
Missing Constructor Arguments for function EtherToken(address admin, address feeAccount, address accountLevelsAddr, uint feeMake, uint feeTake, uint feeRebate)
00000000000000000000000033daedabab9085bd1a94460a652e7ffff592dfe3000000000000000000000000fec8bb460c2501b8c1d4801f34b4408c1fbbccb1

Which when decoded would be

Arg [0] : 00000000000000000000000033daedabab9085bd1a94460a652e7ffff592dfe3
Arg [1] : 000000000000000000000000fec8bb460c2501b8c1d4801f34b4408c1fbbccb1

Another quick and dirty way of figuring out what your constructor arguments are is to compare both the browser solidity / remix compiled byte code and compare this with the input creation byte code. If you look carefully you will notice that the additional hex codes attached at the END of the input created byte code. This is your 'Constructor Arguments'
how to find constructor arguments at the end of byte code
someone help me

Benson
@bensonkb
@phiferd : Done
sibusisok
@sibusisok
Hi, Please help me. I would like to know how much is the ETH fee for mining my own created Token (ERC20), how is this gas fee calculated?
zzaheer1
@zzaheer1
Hi ... I need help to recover my account data that I lost during Ethereum Wallet installation.
While installing Ethereum Wallet, I stuck up for hours at message "Ethereum needs to sync, please wait ... Looking for peers ...". Could someone help?
Eth
@eth_eth87955763_twitter
bitcoinpure01
@bitcoinpure01
can someone please review a contract for me is to say where I'm wrong?
phalexo
@phalexo
Do not share your private keys, seed phrases, or passwords with anyone pretending to want to help, unless you want to lose your Ether and tokens.
bitcoinpure01
@bitcoinpure01
@phalexo help?
phiferd
@phiferd
@bensonkb ok. I recommend you do additional testing on the test network. You can find some faucets that will send you free test network eth. On the test net, you'll get a much better idea about how your app will perform (e.g TX time). Depending on what you're trying to do, you might want to run some sort of alpha version with a subset of users before flying to the main net.
Benson
@bensonkb
@phiferd : Sure. That will be Fine.
rinnegan007
@rinnegan007
I would like to know if there is an official API for managing the address or wallets. I'm looking for web3.js, but I'm not sure if this is it. https://github.com/ethereum/web3.js
Singh
@Nitishkumar3211
I have created a Voting where transaction fee paid throught metamask accout . want a Dapp where user does not need to Metamak and Transaction fee paid via a particular account. Please help ..
Eth
@eth_eth87955763_twitter
Good to hear
Bukenco
@Bukenco
Hi
I need Solidity tutorial, any advice?
Anton
@nikonok
Hi! Can smb help me? How can i access to smart contract by geth? Are any tutorials here?
Natali
@natyscode
Hi all, any ideas on Reputation systems?
Is there something out there that is already operational?
orzhi
@orzhi
hi、
jaypateliya
@jaypateliya
HI