Token migration

compile shows successful but i feel something is wrong here help is greatly appreciated

Hey @Sub0hmz

You need a ,: await deployer.deploy(Token, "Hello", "Hel")

1 Like

compile shows successful but i feel something is wrong here help is greatly appreciated

Because compiler compiels smart contracts, not mirgation files

you sir are the man! lol i was breaking my head over a ,

Haha, it happens when you write a huge code for many hours and then you can’t find a typo.

Happy BUIDLing :man_mechanic:

also how did he “uncommand” that section i noticed he pressed some type of keys

Select a code and then ctrl + /

big ups to you my friend! highly appreciated

Cant get it to migrate :pouting_cat:

it looks like it didn’t find the contract source code with the name Token

could the name of the token be different to the file i made to write the contract?

I think that it doesn’t matter the name of the file, what it matters is the name given in the smart contract.

1 Like

ok i fixxed it but now its saying something else

got it i forgot to switch hash

1 Like