These are chat archives for ethereum/tutorials

5th
May 2017
CEOX1X
@etherceo1x1
May 05 2017 02:49
hi
i want to write 1st contract here but i m looking for help
if anybody can help here will be much obliged
xlcrr
@xlcrr
May 05 2017 10:05
im in the same boat, maybe we can work together?
i am trying to create a token to vote on a custom dao
novumhouse
@novumhouse
May 05 2017 10:46
I hava a simple question. I have 2 000 000 (30blocks left to download. If i close the program i will download
it from the beginning?
braigetori
@braigetori
May 05 2017 11:04
it started from the beginning for me
xlcrr
@xlcrr
May 05 2017 11:04
it never starts again for me
but I am saving it externally and specifying my path every time
braigetori
@braigetori
May 05 2017 11:04
ahhh
xlcrr
@xlcrr
May 05 2017 11:05
How to save externally:
/:cd Volumes/Seagate-Backup-Plus-Drive/Ethereum/
Ethereum:geth --datadir /Volumes/Seagate-Backup-Plus-Drive/Ethereum/ --fast --cache=1024
braigetori
@braigetori
May 05 2017 11:06
thanks.
simple question: in the automatic functions for buying and selling (the example token code), where is the 'this' address defined?
balanceOf[this] += amount
xlcrr
@xlcrr
May 05 2017 11:07
good question. I have this Q too.
the contract can hold both ether and custom token - and datastorage too right
braigetori
@braigetori
May 05 2017 11:08
yes. Data in the state variables.
xlcrr
@xlcrr
May 05 2017 11:08
when you send eth to create the contract, does some of this eth get saved in the contract wallet as 'this'
?
braigetori
@braigetori
May 05 2017 11:09
well, the code seems to imply that msg.sender buys, and 'this' sells. so 'this' is some address somewhere that has eth or tokens in it... must be
xlcrr
@xlcrr
May 05 2017 11:09
var usersBalance = balanceOf[msg.sender];
var contractEthBalance = this; // ??
the buying and selling analogy did not read well for me
braigetori
@braigetori
May 05 2017 11:09
i think 'this' is an address mapped to a balance somewhere
xlcrr
@xlcrr
May 05 2017 11:10
it must be the contract eth storage ?
braigetori
@braigetori
May 05 2017 11:10
must be
xlcrr
@xlcrr
May 05 2017 11:10
can contracts be edited after deploy?
braigetori
@braigetori
May 05 2017 11:10
good question. if not, then it would be hard to grow an organization while improving the code
novumhouse
@novumhouse
May 05 2017 11:16
@xlcrr could you explane more how to save it? I know nothing about ethereum or other like bitcoin;/
it saves it automatically for me. It shoud save for your too in --datadir folder
on os x ~/Users/User/Library/Ethereum/geth/chaindata
check the size of that folder
if you stop downloading and start again mist will check this folder and it should continue to save into it
novumhouse
@novumhouse
May 05 2017 11:37
ok, it saves automatically for me to. thanx
xlcrr
@xlcrr
May 05 2017 13:06
I have a few questions
  • how can I get my web-app api to hit a function on my smart contract? eg mint a token
  • how can I create wallet id's for users? Do I need to run a full node on my server? Is --fast mode enough to run a full node? How expensive is running a node? Do users need to have eth to send mytoken and pay gas or can I implement a tax on mytoken?
Trimac
@Trimacom
May 05 2017 13:55
hello. im looking for the list of the tokken that has buil on ethereum net. can somebody give me some link please?
Rocky Fikki
@rfikki
May 05 2017 14:02
Partial list here: https://etherscan.io/tokens
Trimac
@Trimacom
May 05 2017 14:04
Thank you Mr Rocky for being kind and helpful
xlcrr
@xlcrr
May 05 2017 14:09
how many of these tokens issue the default?
0?
Trimac
@Trimacom
May 05 2017 14:18
Whats with this link guys? https://ethplorer.io/top
is it provided from ethereum?
novumhouse
@novumhouse
May 05 2017 14:55
could sb please tell me what can i do with ethers from test-net network?
where can i read about it?