Hi Guys, I am new to contracts, I am trying to glue together a dividend based Token contract, how do I create a dividend tracker address ?
Sep 2, 2021, 8:58 AM
I can see contracts with dividend already have a hardcoded dividend tracker address .... how do we generate that ?
Some one replied me in DM from the Group
Sep 2, 2021, 9:04 AM
Uhh the constructor does it…
Sep 2, 2021, 9:10 AM
So when I compile the single code in Remix, do I need to first deploy the dividend tracker contract get that address and then feed it to token contract and deploy that ?
Sep 2, 2021, 9:11 AM
First ditch remix, step two use Linux, step 3 use truffle, step 4… IterableMappings first, link, contract
Sep 2, 2021, 9:12 AM
Lol, thats like Black BELT DAN 10 !! level
Sep 2, 2021, 9:13 AM
Ok fine… use windows, but ffs use Ubuntu 20 for the shell while coding
Sep 2, 2021, 9:13 AM
Your main contract will deploy the tracker contract itself.
Sep 2, 2021, 9:14 AM
Today is my 2nd day with a Smart Contrat ! , will comein more here for your guys advice
Sep 2, 2021, 9:15 AM
It’s the somevariable = new (IForkedThisAndRebrandedIt)DividendsTracker
Sep 2, 2021, 9:15 AM
I use Notepad++ for coding.
Sep 2, 2021, 9:15 AM
Ok this is sexy
I seriously code with nano… yes nano
Sep 2, 2021, 9:16 AM
Hard-core coders use Wordpad
Sep 2, 2021, 9:17 AM
Punchcards from 1970’s computers
Sep 2, 2021, 9:17 AM
Stick and sand
Sep 2, 2021, 9:18 AM
Stone tools and a granite block
Sep 2, 2021, 9:18 AM
I like that one. It forces you to keep your code up-to-date with the ever releasing new compiler versions
Sep 2, 2021, 9:18 AM
🤣
Sep 2, 2021, 9:19 AM