solify-parser 0.1.0

IDL parser for Solify - parses Anchor IDL files and extracts program structure
Documentation
{
  "address": "94L2mJxVu6ZMmHaGsCHRQ65Kk2mea6aTnwWjSdfSsmBC",
  "metadata": {
    "name": "journal",
    "version": "0.1.0",
    "spec": "0.1.0",
    "description": "Created with Anchor"
  },
  "instructions": [
    {
      "name": "create_journal_entry",
      "discriminator": [48, 65, 201, 186, 25, 41, 127, 0],
      "accounts": [
        {
          "name": "journal_entry",
          "writable": true,
          "pda": {
            "seeds": [
              { "kind": "arg", "path": "title" },
              { "kind": "account", "path": "owner" }
            ]
          }
        },
        { "name": "owner", "writable": true, "signer": true },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        { "name": "title", "type": "string" },
        { "name": "message", "type": "string" }
      ]
    },
    {
      "name": "delete_journal_entry",
      "discriminator": [156, 50, 93, 5, 157, 97, 188, 114],
      "accounts": [
        {
          "name": "journal_entry",
          "writable": true,
          "pda": {
            "seeds": [
              { "kind": "arg", "path": "title" },
              { "kind": "account", "path": "owner" }
            ]
          }
        },
        { "name": "owner", "writable": true, "signer": true },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [{ "name": "title", "type": "string" }]
    },
    {
      "name": "update_journal_entry",
      "discriminator": [113, 164, 49, 62, 43, 83, 194, 172],
      "accounts": [
        {
          "name": "journal_entry",
          "writable": true,
          "pda": {
            "seeds": [
              { "kind": "arg", "path": "title" },
              { "kind": "account", "path": "owner" }
            ]
          }
        },
        { "name": "owner", "writable": true, "signer": true },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        { "name": "title", "type": "string" },
        { "name": "message", "type": "string" }
      ]
    }
  ],
  "accounts": [
    {
      "name": "JournalEntryState",
      "discriminator": [113, 86, 110, 124, 140, 14, 58, 66]
    }
  ],
  "types": [
    {
      "name": "JournalEntryState",
      "type": {
        "kind": "struct",
        "fields": [
          { "name": "owner", "type": "pubkey" },
          { "name": "title", "type": "string" },
          { "name": "message", "type": "string" }
        ]
      }
    }
  ]
}