myc

Self-custodial remote signer for Radroots apps
git clone https://radroots.dev/git/myc.git
Log | Files | Refs | README | LICENSE

nip46_admission.v1.json (1694B)


      1 {
      2   "schema": "radroots.myc.nip46-admission.v1",
      3   "contract_version": 1,
      4   "source": "validated_config_resource_limits_events",
      5   "event": {
      6     "original_wire_cap_before_parse": true,
      7     "utf8": "required",
      8     "object_fields": ["id", "pubkey", "created_at", "kind", "tags", "content", "sig"],
      9     "unknown_fields": "reject",
     10     "duplicate_fields": "reject",
     11     "null_fields": "reject",
     12     "identifier_max_bytes": {
     13       "id": 64,
     14       "pubkey": 64,
     15       "sig": 128
     16     },
     17     "configured_bounds": [
     18       "wire_bytes",
     19       "content_bytes",
     20       "tag_count",
     21       "tag_total_elements",
     22       "tag_element_bytes",
     23       "tag_total_bytes"
     24     ],
     25     "decryption": "forbidden_before_admission"
     26   },
     27   "request": {
     28     "plaintext_cap_before_parse": true,
     29     "utf8": "required",
     30     "object_fields": ["id", "method", "params"],
     31     "unknown_fields": "reject",
     32     "duplicate_fields": "reject",
     33     "null_fields": "reject",
     34     "configured_bound": "decrypted_plaintext_bytes",
     35     "library_bounds": {
     36       "request_id_bytes": 128,
     37       "method_bytes": 64,
     38       "parameter_count": 64,
     39       "parameter_bytes": 65536,
     40       "aggregate_parameter_bytes": 262144
     41     },
     42     "typed_decode": "deferred_to_step_142"
     43   },
     44   "retention": {
     45     "event_original_bytes": "exact",
     46     "event_ciphertext": "bounded",
     47     "request_plaintext": "opaque_and_redacted"
     48   },
     49   "errors": "crate_owned_source_free_redacted",
     50   "deferred": [
     51     "event_id_and_signature_verification",
     52     "sender_receiver_kind_and_timestamp_policy",
     53     "nip04_nip44_context",
     54     "typed_nip46_request",
     55     "replay_and_deduplication",
     56     "authorization",
     57     "provider_execution",
     58     "persistence",
     59     "relay_io"
     60   ]
     61 }