These are chat archives for ethereum/tutorials

10th
May 2016
delorule
@delorule
May 10 2016 17:44
Q: Contract with 2 owners. One owner try to make transfer. How other must confirm it? Which function of contract? Function "confirm" has parameter "h", but transaction of first owner is not work as value, transfer not complete (sorry for my English)
Alex Van de Sande
@alexvandesande
May 10 2016 18:07
Contract wallet on the wallet client? Just click confirm?
delorule
@delorule
May 10 2016 18:16
On the Mist. Second owner is other account in the same wallet. First owner confirmed by clicking. But there is no button for second owner confirmation
Alex Van de Sande
@alexvandesande
May 10 2016 18:45
click the confirmed button again, it should allow you to select which account to approve it with
delorule
@delorule
May 10 2016 18:50
There is buttons "Cancel" and "Send transaction" only. And field for password.
Alex Van de Sande
@alexvandesande
May 10 2016 19:15
After a few minutes at most, a “confirmation pending” transaction should be at the top
delorule
@delorule
May 10 2016 19:19
I'll try one more, thanks
delorule
@delorule
May 10 2016 19:59
a “confirmation pending” transaction should be at the top
Nothing. Maybe the problem is both owners in one wallet? My ETH is freezing becuase of this experiment with second owner.
Sriram Kumar
@batteringram01
May 10 2016 20:25
I have a fundamental doubt about DAOs and tokens, so lets say I have existing customer base and I provide some sort of a service/product. I want to give some value added service - so I could issue gift cards to them(or loyalty points scenario) now I could issue each token(which are coins) some value to ethers? So, I give 5 tokens in the giftcard or 5 tokens for 10 points, now where will the user exchange 5 tokens and get dollars or ethers or BTC?
I have a DAO which will automatically issue some tokens into the gift card or will send it to the user's wallet. How will the user redeem it?
Alex Van de Sande
@alexvandesande
May 10 2016 20:28
@batteringram01 you can use ethereum to create tokens and gift cards, and you can use ether to fund them to real world value. But where that ether comes from and how you set up exchange rates it’s up to your dao
Sriram Kumar
@batteringram01
May 10 2016 20:34

So let us look into a scenario, like I said I have 500 customers, now assuming they all have wallets and connected to ethereum.

Now I would write a simple token contract, a DAO, deploy it on the blockchain. Now the DAO will mint 5 tokens, send it to all the 500 customers.

  1. Now all the 500 customers will have 5 xyztokens issued by the contract(or dao) which will be in the contract.
  2. User can use the DAO address to check balance and also make a 5xyztoken to ether conversion and make the DAO transfer ethers to their wallet

Makes sense?

@alexvandesande
Alex Van de Sande
@alexvandesande
May 10 2016 20:37
Yes, it makes sense.
Only thing would require more thought would be exactly how the dao prices the tokens, how it funds itself and how it protects itself from currency fluctuation. But that’s more business than programming
Sriram Kumar
@batteringram01
May 10 2016 20:40
Now, the user at minimum will need the DAO address , that is all? But it requires some work on the wallet since ethereum wallet does not support that does it? I am talking from an enduser perspective.
@alexvandesande yeah true that.
Alex Van de Sande
@alexvandesande
May 10 2016 20:41
Yes, it would require some work to make it easier for end users as ethereum frontend isn’t up to that level yet
Sriram Kumar
@batteringram01
May 10 2016 20:42
right got it
delorule
@delorule
May 10 2016 21:12
@alexvandesande Where can I find the answer to confirmation by second owner? There is no answer on slack.slock.it or forum.daohub.org