-
Notifications
You must be signed in to change notification settings - Fork 381
feat(AttestationStation): Simple tutorial #137
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.
The tutorial in the README
is great! I tested it on optimism goerli and it worked without a hitch. I left some comments on the other scripts and test file. They can probably be removed. If we want to keep them, we should run some clean up and add missing dependencies. One other general thing, I think the directory should be renamed from SocialContract
to social-contract
for consistency.
ecosystem/SocialContract/README.md
Outdated
attestation = { | ||
about: goatAddr, | ||
key: educationKey, | ||
val: ethers.utils.toUtf8Bytes("Ate a geometry textbook") |
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.
For consistency, maybe we should pull the value into its own variable too
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.
The other values are in variables because they are used multiple times. This value is only used once.
Rename Social Contract to AttestationStation
Closing: https://linear.app/optimism/issue/DOCS-695/create-tutorial-for-social-contract-attestations