I created a coin and I wanted to ask how can I deploy a smart contract relating to this coin? if i wanted to have smart contract that allow dividend payments for example how would I link this to my coin?

Would it be in the code for the coin and then deploy or would i need to code the contract in a different (.sol) file to the token code and somehow link it ?

1 Answer 1


Yes you must link contract together. But it's kind of one after another.

You deploy a contract A first. Then contract B take contract A address in his source code.

If you want a dividends there is a smart contract for it :


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.