diff --git a/onchain/src/nip01.cairo b/onchain/src/nip01.cairo new file mode 100644 index 00000000..98b9766a --- /dev/null +++ b/onchain/src/nip01.cairo @@ -0,0 +1,12 @@ +#[derive(Copy, Drop)] +struct NIP01Event { + id: u256, + pubkey: u256, + created_at: u64, + kind: u16, + tags: Array>, + content: ByteArray, + sig_r: u256, + sig_s: u256 +} +