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.

    Gustavo (Gus) Guimaraes

    Written by

    A curious mind, joie de vivre practitioner

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade