-
Notifications
You must be signed in to change notification settings - Fork 55
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] add blockchain_alias blockchain-spec #361
Conversation
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 think this looks good but want @felipemadero to take a look
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.
Left some comments for improvement
Awesome, thanks for the feedback. |
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. Will approve once @holisticode nit is addressed
Oh right, I didn't see this one. Fixing right now. |
Hello this Pull Request adds the "blockchain_alias" option in the blockchainSpecs parameter.
It calls the Admin.AliasChain api when the custom blockchain is ready.
With the timestampvm example, using the timestamp alias, you can use 127.0.0.1:9650/ext/bc/timestamp instead of 127.0.0.1:9650/ext/bc/E8isHenre76NMxbJ3munSQatV8GoQ4XKWQg9vD34xMBqEFJGf.