Closed stefek99 closed 6 years ago
WOW
I thought the readme is copy-paste auto-generated default...
That script is epic!
1 command as opposed to manually setting everything from scratch...
It's good to know what you do thought - script kitties :)
I think this unnecessarily long and complex for just saying:
Token.mint(IICOContractAddress)
to mint tokens for the IICO contract on the token contract.IICO.setToken(tokenContractAddress)
to set the token on the IICO contract.IICO.setWhitelister(whitelisterAddress)
so the whitelister can add addresses to the whitelist.TLDR: upated PR to include both high level (yours) as well as step by step (mine) instructions.
unnecessarily long and complex
Depends who you ask.
If I was to see the 4 steps instruction process:
Deploy a token and IICO contract.
How? How do I get the code? How do I pass constuctor parameters? JavaScript timestamp? Synchronising full node? Parity warp? Mnemonic provider? Infura? Metamask? Remix? Imports in the code? Testnet? Test Ether?
I would probably give up already... To complete step 1 would take me a week or more... Ask on StackOverflow, get an answer, then run into another problem.
To get to a certain level of proficiency took me about 6 months of commitment, diligent effort. Running into obsure problems but being persistent, knowing that blockchain is here to stay.
Remember - I'm definitely not the smartest guy in the room. Quite the opposite - I'm choosing my rooms wisely.
Random - https://github.com/ethereum/mist/issues/52 - 15 Oct 2015
- I didn't even know that wallet is a wallet contract and you need to have ETH to deploy it! 💌
Another update.
Tutorial landed in a separate place.
Updated readme visible here: https://github.com/stefek99/openiico-contract/tree/run-your-own
Squash my commits:
Thanks. I merge.
Check out: https://github.com/kleros/openiico/blob/develop/src/scripts/set-up-sale.js
yarn run deploy