Skip to content

Instantly share code, notes, and snippets.

View kdenhartog's full-sized avatar

Kyle Den Hartog kdenhartog

View GitHub Profile

EIP-6963 Development Repository

Why create a separate space dedicated to a single EIP?

Today, much of the discussions to develop a standard within the Ethereum community happens across many different channels that are not always easy to find or possible to access without an invite. For example, the conversation to drive this EIP-5749 and now EIP-6963 forward has moved between Telegram channels, Twitter, Discord Servers such as All Wallet Devs, and Ethereum Magicians. This makes for a difficult experience to follow the movement of the specification unless you can track the many different channels where conversations are occurring. Especially if you don't have an invite such as to the private Telegram channels. Furthermore, when conversations are being had across a variety of different channels it creates an incomplete archival of why certain decisions were made forcing us to revisit many different conversations even when no new points have been made. So, by moving the off

@kdenhartog
kdenhartog / sec-test-rules.txt
Last active June 15, 2022 03:47
security testing
! name: Tech Blogs
! description: Search through technical blogs
! public: true
! author: quickstart
! By default, discard any result not explicitely matched by a rule below
$discard
$downrank,site=medium.com
@kdenhartog
kdenhartog / didcomm.json
Created March 3, 2022 12:06
didcomm V2 context
{
"@context":{
"@version":1.1,
"@protected":true,
"DIDCommMessaging":"https://didcomm.org/messaging/v2/#DIDCommMessaging",
"accept":"https://didcomm.org/messaging/v2/#accept",
"routingKeys":"https://didcomm.org/messaging/v2/#routingKeys"
}
}
@kdenhartog
kdenhartog / playground.jsonld
Created February 22, 2022 21:58
playground.jsonld
{
"@context": {
"@version": 1.1,
"@protected": true,
"Route": {
"@id": "http://127.0.0.1:4000/Credentials.jsonld#Route",
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
@kdenhartog
kdenhartog / playground.jsonld
Last active August 24, 2021 23:39
playground.jsonld
{
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"Person": "http://xmlns.com/foaf/0.1/Person",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"name": "http://xmlns.com/foaf/0.1/name",
"nickname": "http://xmlns.com/foaf/0.1/nick",
{
"@context": {
"id": "@id",
"type": "@type",
"@protected": true,
"VerifiablePresentationWithToU": {
"@id": "https://www.w3.org/2018/credentials#VerifiablePresentation",
"@context": {
"@version": 1.1,
"@protected": true,
{
"@context": {
"@version": 1.1,
"@protected": true,
"termsOfUseVpExtension": {
"termsOfUse": {
"@id": "https://www.w3.org/2018/credentials#termsOfUse",
"@type": "@id"
}
}
{
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"VerifiableCredential": {
"@id": "https://www.w3.org/2018/credentials#VerifiableCredential",
@kdenhartog
kdenhartog / playground.jsonld
Last active August 6, 2021 02:59
Modifed VC Context to support termsOfUse in VerifiablePresentation
{
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"VerifiableCredential": {
"@id": "https://www.w3.org/2018/credentials#VerifiableCredential",
@kdenhartog
kdenhartog / dj.ts
Created July 15, 2021 07:18
slower example
const didJWT = require('did-jwt')
const jws = "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ejZNa3RDRlJjd0xSRlFBOVdiZURSTTdXN2tiQmRaVEhRMnhuUGd5eFpMcTFnQ3BLI3o2TWt0Q0ZSY3dMUkZRQTlXYmVEUk03VzdrYkJkWlRIUTJ4blBneXhaTHExZ0NwSyJ9.AXESIMO-4ZU-naWjzDcxVw3nO_cV8FdAtUg5KCzWM8ygw_gn.tD8L8HUeKr1VaWaHhzp5s5vR6Qv979YVsi05sgZ12YzbI9k2ZXXG80vSErJA4_M-COg7UjEEYxfR4SoTCwRlBw"
const pubKeys = [
{
id: 'did:key:z6MktCFRcwLRFQA9WbeDRM7W7kbBdZTHQ2xnPgyxZLq1gCpK#z6MktCFRcwLRFQA9WbeDRM7W7kbBdZTHQ2xnPgyxZLq1gCpK',
type: 'Ed25519VerificationKey2018',
controller: 'did:key:z6MktCFRcwLRFQA9WbeDRM7W7kbBdZTHQ2xnPgyxZLq1gCpK',
publicKeyBase58: 'EjzP2h5yurfgQ6oWjn9fGf3BozBRz9iRhg52j4rzkz2x'
},