Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: adamcro on December 13, 2017, 07:09:07 PM



Title: Mist and Ledger Nano S
Post by: adamcro on December 13, 2017, 07:09:07 PM
I have Ledger Nano S and working with Mist to create a contract. I want to be a contract owner. How should I connect Mist with Ledger or how should  make my account on Ledger owner of that contract?

Or should I just create new account on Mist, and when ICO ends transfer funds to Ledger wallet?


Title: Re: Mist and Ledger Nano S
Post by: SopaXT on December 13, 2017, 07:17:25 PM
First of all, if you need this help, then you aren't competent enough to have an ICO.  :P

Second, you can write a constructor function in your contract to accept the owner address (of your Ledger).
Also, you can just hardcode something like:
Code:
contract MyICO {
    owner = 0x00abcdef...; // your Ledger address

    /* more code follows */
}


Title: Re: Mist and Ledger Nano S
Post by: adamcro on December 13, 2017, 07:22:46 PM
First of all, if you need this help, then you aren't competent enough to have an ICO.  :P

Second, you can write a constructor function in your contract to accept the owner address (of your Ledger).
Also, you can just hardcode something like:
Code:
contract MyICO {
    owner = 0x00abcdef...; // your Ledger address

    /* more code follows */
}

Then I won't be able to manage contract via Mist?


Title: Re: Mist and Ledger Nano S
Post by: SopaXT on December 13, 2017, 07:39:13 PM
The example above makes your Ledger the contract owner.
You can also use your Mist address there instead.

You can deploy from Ledger and make your contract controllable from Mist and vice versa (depends on the address you specify).


Title: Re: Mist and Ledger Nano S
Post by: adamcro on December 14, 2017, 12:41:25 PM
I see I can use MyEtherWallet for that, no need for Mist at all


Title: Re: Mist and Ledger Nano S
Post by: hieu81 on December 14, 2017, 12:48:28 PM
I see I can use MyEtherWallet for that, no need for Mist at all
You can used myetherwallet without Ledger device! I think is good for store all ETH and token at the moment!


Title: Re: Mist and Ledger Nano S
Post by: Doctor.Strange on December 14, 2017, 01:07:22 PM
MyEtherWallet is safe as long as your private keys are safe.