Hi Gustavo: great post!
Miguel Expósito

Hi Miguel,

Thanks :-)

So for your questions:

GustavoCoinCrowdsale.deployed().then(inst => { crowdsale = inst })

Here we are assigning the the result of the promise `GustavoCoinCrowdsale.deployed()` to crowdsale. If you type crowdsale in your console you will see the object returned.

As for the error `Cannot find creation type: =>`. This arrow function is part of the ES2015 syntax https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions

You are assigning the result of the chained promise to `tokenAddress`

Try typing tokenAddress in the console. You will see that it returns the address.

Hope it helps.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.