-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feature/pm 572 add new role admin #9
Conversation
denisgranha
commented
Apr 6, 2018
- Added isPlayToken constant
- new role admin
- updated addresses
- migration script accepts parameter admins
- added issuance script
bd982f2
to
08fed7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -43,6 +43,8 @@ Then run: | |||
npm install | |||
npm run compile | |||
npm run migrate -- --network rinkeby | |||
# if you want to deploy the markets with another account (recommended), you will need to add those accounts as admins | |||
npm run migrate -- --network rinkeby --admins=address1,...,address2 (comma separated) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should throw the --reset
flag in there as well: I think I had to do so when deploying to Rinkeby.
Also, this means that GnosisDB should be set up before setting up these contracts in Apollo, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the first step should be create the contracts, then set up GnosisDB
|
||
# Issue tokens | ||
```sh | ||
truffle exec scripts/issue_tokens.js --network=rinkeby --amount 1e18 --to <comma separated addresses> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should really use truffle exec
more...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I just discovered today, wanted to add this command here, I think it's useful, we can add also another one for allowTransfers and addAdmin