Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use my existing token in crowdsale? #717

Closed
1 task
hasin0525 opened this issue Feb 1, 2018 · 1 comment
Closed
1 task

how to use my existing token in crowdsale? #717

hasin0525 opened this issue Feb 1, 2018 · 1 comment

Comments

@hasin0525
Copy link

hasin0525 commented Feb 1, 2018

🎉 Description

The current crowdsale code is a form that generates and distributes tokens. I would like to have a crowd sale with a token I have already created.

  • 🐛 This is a bug report.
  • [] 📈 This is a feature request.

💻 Environment

Next, we need to know what your environment looks like.

  • Which version of OpenZeppelin are you using? 1.6.0
  • What network are you deploying to? testrpc? Ganache? Ropsten? kovan
  • How are you deploying your OpenZeppelin-backed contracts? truffle? Remix? Let us know! remix

📝 Details

Describe the problem you have been experiencing in more detail. Include as much information as you think is relevant. Keep in mind that transactions can fail for many reasons; context is key here.

🔢 Code To Reproduce Issue [ Good To Have ]

Please remember that with sample code it's easier to reproduce the bug and it's much faster to fix it.

insert short code snippets here
  
function Crowdsale() public {
    cap = 1000000000000000000;
    startTime = 1517410800;
    endTime = 1517448600;
    rate = 1000;
    wallet = address;
    token = new MintableToken(); --> this i want to use my existing mintabletoken!
  }

I change that token = new MintableToken() -> MintableToken(address)
but error exist...

## 👍 Other Information

<!-- List any other information that is relevant to your issue. Error logs, related issues, suggestions on how to fix, Stack Overflow links, forum links, etc. -->
@hasin0525 hasin0525 changed the title how to use existing my token in crowdsale? how to use my existing token in crowdsale? Feb 1, 2018
@eordano
Copy link
Contributor

eordano commented Feb 1, 2018

Hi there @hasin0525. It appears that you're neither reporting a bug or asking for a new feature, which is why I'm going to close this issue as invalid, as I couldn't gather enough information from your description of the issue and example code.

Please consider asking for help over in the #beginners channel of our OpenZeppelin Slack community: https://slack.openzeppelin.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants