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

chore: add token config for example arbitrary EAS schema #229

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

micwallace
Copy link
Collaborator

@micwallace micwallace commented Jul 20, 2023

This PR defines a off-chain token config that uses an arbitrary schema.

Tokens for this issuer config can be generated using this attestation creator link:
https://create.openloyalty.com/#schema=eyJjb25maWciOnsiYWRkcmVzcyI6IjB4QzI2NzlmQkQzN2Q1NDM4OENlNDkzRjFEQjc1MzIwRDIzNmUxODE1ZSIsInZlcnNpb24iOiIwLjI2IiwiY2hhaW5JZCI6MTExNTUxMTF9LCJmaWVsZHMiOlt7Im5hbWUiOiJ0b2tlbklkIiwiZGVzY3JpcHRpb24iOiJUb2tlbiBJRCIsInR5cGUiOiJzdHJpbmciLCJpc0NvbW1pdG1lbnQiOmZhbHNlfSx7Im5hbWUiOiJvd25lck5hbWUiLCJkZXNjcmlwdGlvbiI6Ik5hbWUgb2Ygb3duZXIiLCJ0eXBlIjoic3RyaW5nIiwiaXNDb21taXRtZW50IjpmYWxzZX0seyJuYW1lIjoiY29tbWl0bWVudCIsImRlc2NyaXB0aW9uIjoiVGhlIGVtYWlsIGFkZHJlc3Mgb2YgdGhlIHVzZXIuIFRoaXMgdmFsdWUgaXMgaGlkZGVuIGluIGEgcGVkZXJzZW4gY29tbWl0bWVudCBhbmQgdXNlZCB0byB2ZXJpZnkgb3duZXJzaGlwIiwidHlwZSI6ImJ5dGVzIiwiaXNDb21taXRtZW50Ijp0cnVlfV0sIm9wdGlvbnMiOnsidmFsaWRpdHkiOm51bGwsInJlY2lwaWVudCI6IjB4MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMCIsInNjaGVtYSI6IjB4OWRiZGZjODE0NzYyZTJmMzU2YTg3ODQzZWEzYTBlZjk2OWM0N2JlYTBkNzBlZThjNGEzYTJmMjljOGMzMzBkZCIsInJlZlVJRCI6IjB4MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMCIsIm1hZ2ljTGlua0Jhc2UiOiJodHRwOi8vbG9jYWxob3N0OjMwMDIvIiwibWFnaWNMaW5rVG9rZW5TY3JpcHQiOiJodHRwOi8vbG9jYWxob3N0OjMzMzMvYXNzZXRzL3Rva2Vuc2NyaXB0cy9hdHRlc3RhdGlvbi50c21sIn19&values=eyJldmVudElkIjp7ImlzU3RhdGljIjp0cnVlLCJ2YWx1ZSI6IjYifSwidGlja2V0SWQiOnsiaXNTdGF0aWMiOmZhbHNlLCJ2YWx1ZSI6IjEyMzQ1In0sInRpY2tldENsYXNzIjp7ImlzU3RhdGljIjpmYWxzZSwidmFsdWUiOiIyIn0sImNvbW1pdG1lbnQiOnsiaXNTdGF0aWMiOmZhbHNlLCJ2YWx1ZSI6Im1pY2N5QHNtYXJ0dG9rZW5sYWJzLmNvbSJ9LCJ0b2tlbklkIjp7ImlzU3RhdGljIjpmYWxzZSwidmFsdWUiOiIxMjM0NiJ9LCJvd25lck5hbWUiOnsiaXNTdGF0aWMiOmZhbHNlLCJ2YWx1ZSI6Ik1pY2N5IDIifX0%3D

Required negotiator PR: SmartTokenLabs/token-negotiator#759

@sonarcloud
Copy link

sonarcloud bot commented Jul 20, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@nicktaras
Copy link
Contributor

Approved @micwallace in prep for use with the lib changes.

Added your demo attestation configuration to WIKI for future reference:
https://github.com/TokenScript/token-negotiator-examples/wiki/Mock-Attestations

@nicktaras nicktaras merged commit 2c9d104 into staging Jul 27, 2023
@nicktaras nicktaras deleted the feat/arbitrary-eas-schema branch August 10, 2023 00:29
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

Successfully merging this pull request may close these issues.

2 participants