community-discord-bot's People
Forkers
emmanuellarcommunity-discord-bot's Issues
Add ability to export existing credentials
Research what would be the best UX to export credentials. Initial ideas:
- The output of
/credentials
command, could add aDownload
button to every item in the list. After clicking this button, the list would update with the attachment containing the credentials - Every item in the list could contain a link to https://community.veramo.io/credential/{hash}
Add github+discord integration to our community server
Add this repo to the #dev-updates
channel in Veramolabs server
Attendance credential schema
Create and publish Attendance
credential schema at https://github.com/veramolabs/vc-json-schemas
Example of current VCs:
{
"credentialSubject": {
"channel": {
"id": "1009085877269581928",
"name": "General"
},
"guild": {
"id": "1009085877269581924",
"name": "localdev"
},
"author": {
"name": "simonas",
"avatar": "https://cdn.discordapp.com/avatars/306063654845939723/3c21cb6158e1a24a6789c56f155ec091.webp"
},
"event": {
"name": "Test event",
"picture": "https://i.imgur.com/z8ifGji.jpeg"
},
"name": "Alice42",
"avatar": "https://cdn.discordapp.com/avatars/890524260148330516/51e9fddf32556db88b51ba03ed7ad8ec.png",
"id": "did:web:discordbot.eu.ngrok.io:discord:890524260148330516"
},
"issuer": {
"id": "did:web:discordbot.eu.ngrok.io"
},
"type": [
"VerifiableCredential",
"Attendance"
],
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"issuanceDate": "2022-08-18T11:15:38.000Z",
"proof": {
"type": "JwtProof2020",
"jwt": "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJ2YyI6eyJAY29udGV4dCI6WyJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy92MSJdLCJ0eXBlIjpbIlZlcmlmaWFibGVDcmVkZW50aWFsIiwiQXR0ZW5kYW5jZSJdLCJjcmVkZW50aWFsU3ViamVjdCI6eyJjaGFubmVsIjp7ImlkIjoiMTAwOTA4NTg3NzI2OTU4MTkyOCIsIm5hbWUiOiJHZW5lcmFsIn0sImd1aWxkIjp7ImlkIjoiMTAwOTA4NTg3NzI2OTU4MTkyNCIsIm5hbWUiOiJsb2NhbGRldiJ9LCJhdXRob3IiOnsibmFtZSI6InNpbW9uYXMiLCJhdmF0YXIiOiJodHRwczovL2Nkbi5kaXNjb3JkYXBwLmNvbS9hdmF0YXJzLzMwNjA2MzY1NDg0NTkzOTcyMy8zYzIxY2I2MTU4ZTFhMjRhNjc4OWM1NmYxNTVlYzA5MS53ZWJwIn0sImV2ZW50Ijp7Im5hbWUiOiJUZXN0IGV2ZW50IiwicGljdHVyZSI6Imh0dHBzOi8vaS5pbWd1ci5jb20vejhpZkdqaS5qcGVnIn0sIm5hbWUiOiJBbGljZTQyIiwiYXZhdGFyIjoiaHR0cHM6Ly9jZG4uZGlzY29yZGFwcC5jb20vYXZhdGFycy84OTA1MjQyNjAxNDgzMzA1MTYvNTFlOWZkZGYzMjU1NmRiODhiNTFiYTAzZWQ3YWQ4ZWMucG5nIn19LCJzdWIiOiJkaWQ6d2ViOmRpc2NvcmRib3QuZXUubmdyb2suaW86ZGlzY29yZDo4OTA1MjQyNjAxNDgzMzA1MTYiLCJuYmYiOjE2NjA4MjEzMzgsImlzcyI6ImRpZDp3ZWI6ZGlzY29yZGJvdC5ldS5uZ3Jvay5pbyJ9.W-lRhjTQZVUF7LFRV7fBOYXAVJGUjUwYihnNeCxdqjLYxNUKZqq0sFEpJZA6uffUrlPowJTv5Hmvd7QMYqoEBA"
}
}
Credentials list paging
When executing /credentials
command, the bot should return the last 5 issued credentials. If there are more than 5 issued credentials, there should be a button at the end of the list More >
. After clicking this button, the list should update and show older credentials.
Add contribution guidelines
Probably can be based on https://github.com/uport-project/veramo/blob/next/CONTRIBUTING.md
Kudos Credential schema
Create and publish Kudos
credential schema at https://github.com/veramolabs/vc-json-schemas
Example of current VCs:
{
"credentialSubject": {
"name": "okay_nick",
"kudos": "For great work on DIDComm + libp2p",
"author": {
"name": "simonas",
"avatar": "https://cdn.discordapp.com/avatars/306063654845939723/3c21cb6158e1a24a6789c56f155ec091.png"
},
"channel": {
"id": "1001857008770760767",
"name": "general",
"nsfw": false
},
"guild": {
"id": "1001857008229691432",
"name": "Staging Veramo"
},
"avatar": "https://cdn.discordapp.com/avatars/682320516430037063/4bca4a46cd90f4ef34eb92308247c7d5.png",
"id": "did:web:staging....7063"
},
"issuer": {
"id": "did:web:staging.community.veramo.io:discord:306063654845939723"
},
"id": "1009104779064127602",
"type": [
"VerifiableCredential",
"Kudos"
],
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"issuanceDate": "2022-08-16T14:22:07.000Z",
"proof": {
"type": "JwtProof2020",
"jwt": "eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJ2YyI6eyJAY29udGV4dCI6WyJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy92MSJdLCJ0eXBlIjpbIlZlcmlmaWFibGVDcmVkZW50aWFsIiwiS3Vkb3MiXSwiY3JlZGVudGlhbFN1YmplY3QiOnsibmFtZSI6Im9rYXlfbmljayIsImt1ZG9zIjoiRm9yIGdyZWF0IHdvcmsgb24gRElEQ29tbSArIGxpYnAycCIsImF1dGhvciI6eyJuYW1lIjoic2ltb25hcyIsImF2YXRhciI6Imh0dHBzOi8vY2RuLmRpc2NvcmRhcHAuY29tL2F2YXRhcnMvMzA2MDYzNjU0ODQ1OTM5NzIzLzNjMjFjYjYxNThlMWEyNGE2Nzg5YzU2ZjE1NWVjMDkxLnBuZyJ9LCJjaGFubmVsIjp7ImlkIjoiMTAwMTg1NzAwODc3MDc2MDc2NyIsIm5hbWUiOiJnZW5lcmFsIiwibnNmdyI6ZmFsc2V9LCJndWlsZCI6eyJpZCI6IjEwMDE4NTcwMDgyMjk2OTE0MzIiLCJuYW1lIjoiU3RhZ2luZyBWZXJhbW8ifSwiYXZhdGFyIjoiaHR0cHM6Ly9jZG4uZGlzY29yZGFwcC5jb20vYXZhdGFycy82ODIzMjA1MTY0MzAwMzcwNjMvNGJjYTRhNDZjZDkwZjRlZjM0ZWI5MjMwODI0N2M3ZDUucG5nIn19LCJzdWIiOiJkaWQ6d2ViOnN0YWdpbmcuY29tbXVuaXR5LnZlcmFtby5pbzpkaXNjb3JkOjY4MjMyMDUxNjQzMDAzNzA2MyIsImp0aSI6IjEwMDkxMDQ3NzkwNjQxMjc2MDIiLCJuYmYiOjE2NjA2NTk3MjcsImlzcyI6ImRpZDp3ZWI6c3RhZ2luZy5jb21tdW5pdHkudmVyYW1vLmlvOmRpc2NvcmQ6MzA2MDYzNjU0ODQ1OTM5NzIzIn0.mWYv1_jVVd-nUuRMU0JDqwOeRERZQ_fDua6fagcnlP3Lbg44noTxBtKfBXdQ3r5tIpnXW9DU2kQ7SbVstrVrlQ"
}
}
Update README.md
README.md should contain:
- Short description of the project
- Vision / goals
- Architecture diagrams
- Video showing typical usage
- Instructions of how to install this bot in any community
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.