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
Brooks Boyd
@MidnightLightning
No, "interface" is not a keyword in Solidity; you leave it as "contract", it just behaves like an interface due to how it's used.
To use, you deploy that whole Solidity script. It has definitions for several contract types, but when deploying only one becomes the main logic for the deployed address. All the other contract definitions in the script are supplemental/reference for the main contact
Oh actually, looking at that documentation, they did add in the "interface" keyword, my bad!
Luca Venturella
@lucav

Oh actually, looking at that documentation, they did add in the "interface" keyword, my bad!

Right!

Brooks Boyd
@MidnightLightning
In that token contract, you don't need to change it to the "interface" keyword, but it wouldn't hurt anything if you did.
Luca Venturella
@lucav
Also because truffle compile get an error........
Luca Venturella
@lucav

@MidnightLightning
Anyway, with contract keyword it works.

But for complete understanding the tutorial, i need to know this:
Should i deploy only the MyAdvancedToken contract (using truffle)?
Should i call the deployer link also or i don't to link?

This is my migration code:

var owned = artifacts.require("Owned");
var Token = artifacts.require("Token");
var TestCoin = artifacts.require("TestCoin");

module.exports = function(deployer) {
  deployer.deploy(owned);
  deployer.deploy(Token,1000000,'TestCoin',0,'TEC');

  deployer.link(Token, TestCoin);


  deployer.link(owned, TestCoin);
  deployer.deploy(TestCoin);
};

Thank you very much for help me!

Brooks Boyd
@MidnightLightning
I haven't used the Truffle infrastructure much at all, but you should only need to deploy the one MyAdvancedToken contract for basic functionality. If you want to test the approveAndCall functionality, you'd need to deploy a second contract that implements that one receiveApproval method.
Luca Venturella
@lucav
ok understood. thanks
Ayushya Chitransh
@AyushyaChitransh
@MidnightLightning I agree, using docker would be a better choice. I didn't think of it, so I've set it up in my system. I am exploring more cli options to configure it since I need to get this working on server
vishwas96
@vishwas96
Hey I need to get one thing straight. Please someone help me . I am confused with this stuff. I want to create a commercial coin on ethereum network. There are 3 pages of tutorial on ethereum.org . I successfully implemented the first one. Now, what do I need to do? how and where to put it on so that people can trade ?
phalexo
@phalexo
@vishwas96 Did you think it costs nothing to deploy? You have to mine or buy ether to deploy. No free lunch.
vishwas96
@vishwas96
Yeah . I'm ok with that but I wanna know how things will work
will I be able to create full coin that people can invest in?
virendra1497
@virendra1497
HI, I need to Know that during creating my own currency how to decide the value of my currency and how much amount to pay for my own currency (per token or coin whatever it is)
fdgrant
@fdgrant
Hi, I'm trying to set up my first digital token using the tutorial. However, when I cut and paste the provided code into the Solidarity Contract Source code text field, I get the following error:
Source file does not specify required compiler version!Consider adding "pragma solidity ^0.4.11
contract MyToken {
^
Spanning multiple lines.
Brooks Boyd
@MidnightLightning
@fdgrant That's just a notice, not an actual error. You can add pragma solidity ^0.4.11 as the first line of your contract code to avoid it.
sgalindop
@sgalindop
hi everybody
does someone have the Full coin code?
gabrielmoreira1975
@gabrielmoreira1975
@MidnightLightning Thank you so much dude!! But right now I have another problem, I don't know how to upgrade my Ethereum Wallet to compiler v.0.4.16? CAn you please support me?
Brooks Boyd
@MidnightLightning
Ah. Well, you could use the online Remix tool to compile the contract for you: https://ethereum.github.io/browser-solidity, or you can switch the version indicated in the pragma command to be the version you have.
Kognitif
@Kognitif
hello
is there any coin created this way ?
Henry
@blacksausage
Hello Everyone. I have a problematic wallet contracted that I created using Mist. The wallet is showing a positive balance inside Mist, and on Etherchain and Etherscan. When I try send funds from this wallet address to any other I get an error that says "Unknown Account". I know the password is correct. Interestingly, whenver I search for this wallet on Etherchain/Ethercan I can see the address and the balance, but then the browser tab completely locks up. I've tried everything I can think of. Has anyone else heard of this problem? Do you have any suggestions?
James Ray
@jamesray1
I have an issue following the instructions for remix for deploying your first contract. https://medium.com/@jamesray_56543/unfortunately-i-dont-see-any-of-this-d87ca724a22a.
ethereum/solidity#2867
James Ray
@jamesray1
I'm still having issues going through the lllc tutorials.
ethereumjs/testrpc#382
ethereumjs/testrpc#380
@blacksausage it seems that Mist isn't really ready for use yet, best to wait until it is usable with later releases that aren't pre-releases.
phalexo
@phalexo
@blacksausage It does not look by your post that you have actually put any ether into that Wallet. If you used Ethereumwallet to create that wallet contract and you've synchronized with the blockchain, perhaps it is a collision, i.e. you have stumbled into someone else's wallet. I don't know what the odds are for two different sets of keys to generate the same address, but it sounds interesting if it did happen.
Satyam Agrawal
@satyamakgec
how exchanges create the address of other user and store the private and public key on ethereum network
can somebody guide me
KingScorpio
@KingScorpio
hello
can someone explain me the stepps to create a coin/wallets system and the possibilities i can alter the shape of the coin?
Asada09
@Asada09
Hey. Is it possible to send to multiple addresses with an existing Ethereum Token?
mwfjvermeulen
@mwfjvermeulen
@KingScorpio , follow the steps on the website:)
Vivian Lobo
@vnl
I used about 10$ worth of Ether
while setting up the wallet
now I cannot find it
any idea where to look
Samuel Tirtawidjaja
@Saoming
hi
where i can put this source code of making my own token?
MichaelHenry1
@MichaelHenry1
how do I create a token
Samuel Tirtawidjaja
@Saoming
hey guys
what is a pragma solidity and can i change it?
and i got this error actually Undeclared identifier.
require (_to != 0x0); // Prevent transfer to 0x0 address. Use burn() instead
^-----^
Dontrail Cotlage
@kingassune
I'm having issues with https://www.ethereum.org/crowdsale on the new version of mist is there a way to update mist solidity compiler?
squlio-jmul
@squlio-jmul
Hi guys, quick question:
function foo() payable {
someAddress.call.gas(250000).value(msg.value)();
}
In that case, who is paying for the 250000 gas? Is it the msg.sender or the contract?
jjpsuarez1113
@jjpsuarez1113

Hi guys! I've been having an issue with the Shareholders Association on the latest Ethereum Wallet version (0.9). Here's the error:

Variable is declared as a storage pointer. Use an explicit "storage" keyword to silence this warning.

Was putting storage after the datatype and made it to:

string storage description;

But it still isn't working. Any thoughts on this??

Dontrail Cotlage
@kingassune
@jjpsuarez1113 same issue the compiler doesn't work