-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add permissions section to Wasmd #144
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Looks very good.
I left a nitpick and some broad questions. Overall, I've never done any of this and I found this guide easy to follow. It flows nicely. I do think I'd be able to quickly get started following this page, which means: good job!
# Permissions | ||
|
||
This section describes the permission settings, enabling you to manage access to essential | ||
operations like uploading and instantiating WASM contracts. |
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.
operations like uploading and instantiating WASM contracts. | |
operations like uploading and instantiating Wasm contracts. |
This is a nitpick, but Wasm
is how they capitalize it.
This command allows **Alice** to grant **Bob** (`wasm1427kpq9mmnfp0madk5axh2ukmjgpfh6skzdxku`) the | ||
authorization to **store** a specific WASM code on the blockchain. The WASM code is defined by the | ||
code checksum `3F4CD47C39C57FE1733FB41ED176EEBD9D5C67BAF5DF8A1EEDA1455E758F8514`. The permission | ||
granted allows `"everybody"` to instantiate this code. This means that once **Bob** uploads the WASM | ||
code, any user on the blockchain will be able to instantiate it. |
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.
From this, it's not clear to me what sort of permissions Alice needs to have to be able to do this. Is that important?
|
||
### Contract Execution Authorization | ||
|
||
To authorize a specific address to execute a WASM contract, use the following command: |
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.
Are addresses not able to execute Wasm contracts by default? When would they need to be authorized like this?
No description provided.