graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as dotenv from "dotenv"; | |
dotenv.config(); | |
import { createClient } from "@supabase/supabase-js"; | |
import { z } from "zod"; | |
import { relayInit, Event, Filter } from "nostr-tools"; | |
import { message_schema_compat, verify } from "chia-signing-tools"; | |
import { createHash } from "crypto"; | |
Object.assign(global, { WebSocket: require('ws') }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"did":"did:chia:16659stcepsngysf7q6r2aecv3a4c5yrlk7cr29axd22rghfp5x8qrtpl8k", | |
"message":"{\"type\":\"did_trust\",\"ts\":\"2023-02-05T00:52:27.299Z\",\"data\":{\"did\":\"did:chia:19qf3g9876t0rkq7tfdkc28cxfy424yzanea29rkzylq89kped9hq3q7wd2\"}}", | |
"sig":"aae5ffbc3018ed475535fbf47b6de9d96a04a703a61471aba37903de1c732404967ced38d2a42973f4fdc54d049cb1d5035f16a00381b6c9b7d44ac5872466c262f84d4711bfdeb0465bc42d16c9ffcfae4f002be5218adbc1169c217d707fe7" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"did":"did:chia:16659stcepsngysf7q6r2aecv3a4c5yrlk7cr29axd22rghfp5x8qrtpl8k", | |
"message":"Hello World!", | |
"sig":"8c54115a4983f6dde659b0970c0fc097b0c23d249e57a7f1c8244cea83a9327a66dda93f6cd5227fde1860a2e01d695713e69a4bd40b7664400e27bc485ee446d6263b88df5cf721f99d481ae61d4b2f33a2f230bdae5e9b1fe702da0000fa6b" | |
} |
I hereby claim:
- I am mikehw on github.
- I am mikew90 (https://keybase.io/mikew90) on keybase.
- I have a public key ASA6ysqeiauG_J9JTWmUiygPxneQbErA1VbqouYY2SnS0wo
To claim this, I am signing this object: