{
  "id": "task_libraries:blockchain/python",
  "path": "/exapedia/python-blockchain-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python blockchain libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python blockchain libraries read chain data, build and sign transactions, and call smart contracts from Python code. Signing happens locally with a private key before a client sends the transaction to a node over JSON-RPC. These libraries let wallets, trading bots, and AI agents act on Ethereum, Solana, and Bitcoin."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python blockchain libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#eth-utils",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F131"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#eth-abi",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F149"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#eth-keys",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#eth-account",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#web-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F197"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#solders",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#solana-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#python-bitcoinlib",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#eth-utils",
          "label": [
            {
              "t": "text",
              "text": "eth-utils"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F132"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "RPC client",
            "Local signing"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#eth-utils",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F131"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#eth-abi",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F149"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#eth-keys",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#eth-account",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#web-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F197"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#solders",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#solana-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#python-bitcoinlib",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "eth-utils",
          "name": [
            {
              "t": "fact",
              "fact": "F131"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ethereum/eth-utils"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/eth-utils"
            },
            {
              "label": "Docs",
              "href": "https://eth-utils.readthedocs.io/en/stable/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F138"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://eth-utils.readthedocs.io/en/stable/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F131"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/ApeWorX/eth-tester",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@to_tuple\ndef normalize_filter_params(from_block, to_block, address, topics):\n    yield from_block\n    yield to_block\n\n    if address is None:\n        yield address\n    elif is_address(address):\n        yield to_canonical_address(address)\n    elif is_list_like(address):\n        yield tuple(to_canonical_address(item) for item in address)\n    else:\n        raise TypeError(f\"Address is not in a recognized format: {address}\")\n\n    if topics is None:\n        yield topics\n    elif is_valid_topic_array(topics):\n        yield tuple(\n            normalize_topic_list(item) if is_list_like(item) else normalize_topic(item)\n            for item in topics\n        )\n    else:\n        raise TypeError(f\"Topics are not in a recognized format: {address}\")\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/ApeWorX/eth-tester/blob/87e7e69646d3520c47718301d964be14e1068f30/eth_tester/normalization/inbound.py#L49-L71",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F146"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=eth-utils%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F131"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from eth_utils import to_checksum_address\n\naddress = to_checksum_address('0xd3cda913deb6f67967b99d67acdfa1712c293601')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://eth-utils.readthedocs.io/en/stable/utilities.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "utilities.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F136"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "eth-abi",
          "name": [
            {
              "t": "fact",
              "fact": "F149"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ApeWorX/eth-abi"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/eth-abi"
            },
            {
              "label": "Docs",
              "href": "https://eth-abi.readthedocs.io/en/stable/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F156"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://eth-abi.readthedocs.io/en/stable/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F149"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/ApeWorX/ape",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F165"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def encode_calldata(self, abi: ConstructorABI | MethodABI, *args) -> HexBytes:\n    if not abi.inputs:\n        return HexBytes(\"\")\n\n    parser = StructParser(abi)\n    arguments = parser.encode_input(args)\n    input_types = [i.canonical_type for i in abi.inputs]\n    python_types = tuple(self._python_type_for_abi_type(i) for i in abi.inputs)\n    converted_args = self.conversion_manager.convert(arguments, python_types)\n    encoded_calldata = encode(input_types, converted_args)\n    return HexBytes(encoded_calldata)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/ApeWorX/ape/blob/7916f167a1cbdf9355ea2bcab70d3eba3c9317c7/src/ape_ethereum/ecosystem.py#L742-L752",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F164"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=eth-abi%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F149"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from eth_abi import encode\n\nencoded = encode(['uint256'], [12345])\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://eth-abi.readthedocs.io/en/stable/encoding.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "encoding.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F154"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "eth-keys",
          "name": [
            {
              "t": "fact",
              "fact": "F167"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ApeWorX/eth-keys"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/eth-keys"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F174"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/ApeWorX/eth-keys",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F167"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/ethereum/py-evm",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F183"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def ecrecover(computation: ComputationAPI) -> ComputationAPI:\n    computation.consume_gas(constants.GAS_ECRECOVER, reason=\"ECRecover Precompile\")\n    data = computation.msg.data_as_bytes\n    raw_message_hash = data[:32]\n    message_hash = pad32r(raw_message_hash)\n\n    v_bytes = pad32r(data[32:64])\n    v = big_endian_to_int(v_bytes)\n\n    r_bytes = pad32r(data[64:96])\n    r = big_endian_to_int(r_bytes)\n\n    s_bytes = pad32r(data[96:128])\n    s = big_endian_to_int(s_bytes)\n\n    try:\n        validate_lt_secpk1n(r, title=\"ECRecover: R\")\n        validate_lt_secpk1n(s, title=\"ECRecover: S\")\n        validate_lte(v, 28, title=\"ECRecover: V\")\n        validate_gte(v, 27, title=\"ECRecover: V\")\n    except ValidationError:\n        return computation\n\n    canonical_v = v - 27\n\n    try:\n        signature = keys.Signature(vrs=(canonical_v, r, s))\n        public_key = signature.recover_public_key_from_msg_hash(message_hash)\n    except BadSignature:\n        return computation\n\n    address = public_key.to_canonical_address()\n    padded_address = pad32(address)\n\n    computation.output = padded_address\n    return computation\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/ethereum/py-evm/blob/ffce74fa3c5d95682cdd5d84de82c80d60a56172/eth/precompiles/ecrecover.py#L29-L64",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=eth-keys%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F167"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from eth_keys import keys\n\nprivate_key = keys.PrivateKey(b'\\x01' * 32)\nsignature = private_key.sign_msg(b'a message')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/ApeWorX/eth-keys/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F172"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "eth-account",
          "name": [
            {
              "t": "fact",
              "fact": "F185"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ApeWorX/eth-account"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/eth-account"
            },
            {
              "label": "Docs",
              "href": "https://eth-account.readthedocs.io/en/latest/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F11"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://eth-account.readthedocs.io/en/latest/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F185"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F12"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from eth_account import Account\n\naccount = Account.create()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://eth-account.readthedocs.io/en/latest/eth_account.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "eth_account.html"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20eth-account%20for%20blockchain%20RPC%2C%20message%20signing%2C%20contract%20reads%20and%20transaction%20integration&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F185"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F190"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "web-py",
          "name": [
            {
              "t": "fact",
              "fact": "F197"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ApeWorX/web3.py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/web3"
            },
            {
              "label": "Docs",
              "href": "https://web3py.readthedocs.io/en/stable/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F37"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://web3py.readthedocs.io/en/stable/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F197"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from web3 import Web3, EthereumTesterProvider\n\nw3 = Web3(EthereumTesterProvider())\nblock = w3.eth.get_block('latest')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://web3py.readthedocs.io/en/stable/quickstart.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "quickstart.html"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20web3%20for%20blockchain%20RPC%2C%20message%20signing%2C%20contract%20reads%20and%20transaction%20integration&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F197"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F202"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "solders",
          "name": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/kevinheavey/solders"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/solders"
            },
            {
              "label": "Docs",
              "href": "https://kevinheavey.github.io/solders/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F63"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://kevinheavey.github.io/solders/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F209"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/michaelhly/solana-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F224"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "async def main():\n    rpc = AsyncClient(\"https://api.devnet.solana.com\")\n\n    sender = Keypair()\n    recipient = Keypair()\n\n    LAMPORTS_PER_SOL = 1_000_000_000\n    transfer_amount = LAMPORTS_PER_SOL // 100  # 0.01 SOL\n\n    async with rpc:\n        # Get latest blockhash\n        latest_blockhash = await rpc.get_latest_blockhash()\n\n        # Create transfer instruction\n        transfer_instruction = transfer(\n            TransferParams(from_pubkey=sender.pubkey(), to_pubkey=recipient.pubkey(), lamports=transfer_amount)\n        )\n\n        # Create message\n        message = MessageV0.try_compile(\n            payer=sender.pubkey(),\n            instructions=[transfer_instruction],\n            address_lookup_table_accounts=[],\n            recent_blockhash=latest_blockhash.value.blockhash,\n        )\n\n        # Create and sign transaction\n        transaction = VersionedTransaction(message, [sender])\n\n        print(f\"Sender: {sender.pubkey()}\")\n        print(f\"Recipient: {recipient.pubkey()}\")\n        print(f\"Transfer Amount: {transfer_amount / LAMPORTS_PER_SOL} SOL\")\n        print(f\"Transaction created successfully\")\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/michaelhly/solana-py/blob/88a3d4dbef69e70515de6e59f06f9d18f5dd0dfc/docs/cookbook/transaction-operations/send-sol.md#L21-L53",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F223"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20solders%20for%20blockchain%20RPC%2C%20message%20signing%2C%20contract%20reads%20and%20transaction%20integration&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F209"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from solders.keypair import Keypair\n\nkeypair = Keypair()\npublic_key = keypair.pubkey()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://kevinheavey.github.io/solders/tutorials/keypairs.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "transactions.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F214"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "solana-py",
          "name": [
            {
              "t": "fact",
              "fact": "F226"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/michaelhly/solana-py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/solana"
            },
            {
              "label": "Docs",
              "href": "https://michaelhly.com/solana-py/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F89"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://michaelhly.com/solana-py/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F226"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F94"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F95"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F96"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F97"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import asyncio\nfrom solana.rpc.async_api import AsyncClient\n\nasync def main():\n    async with AsyncClient('https://api.devnet.solana.com') as client:\n        return await client.is_connected()\n\nasyncio.run(main())\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/michaelhly/solana-py/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20solana%20for%20blockchain%20RPC%2C%20message%20signing%2C%20contract%20reads%20and%20transaction%20integration&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F226"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F231"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "python-bitcoinlib",
          "name": [
            {
              "t": "fact",
              "fact": "F240"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/petertodd/python-bitcoinlib"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/python-bitcoinlib"
            },
            {
              "label": "Docs",
              "href": "https://python-bitcoinlib.readthedocs.io/en/latest/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F247"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://python-bitcoinlib.readthedocs.io/en/latest/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from bitcoin.core import CMutableTransaction\n\ntransaction = CMutableTransaction()\nwire = transaction.serialize()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/petertodd/python-bitcoinlib/blob/master/bitcoin/core/__init__.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "__init__.py"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=python-bitcoinlib%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F245"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python blockchain library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#web-py",
          "label": [
            {
              "t": "fact",
              "fact": "F197"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits Ethereum apps that read chain data and call contracts. "
        },
        {
          "t": "link",
          "href": "#solana-py",
          "label": [
            {
              "t": "text",
              "text": "Solana.py"
            }
          ]
        },
        {
          "t": "text",
          "text": " with "
        },
        {
          "t": "link",
          "href": "#solders",
          "label": [
            {
              "t": "text",
              "text": "Solders"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits Solana apps. "
        },
        {
          "t": "link",
          "href": "#eth-account",
          "label": [
            {
              "t": "text",
              "text": "eth-account"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits code that only signs transactions and messages."
        }
      ]
    },
    {
      "q": "What is Solders?",
      "a": [
        {
          "t": "link",
          "href": "#solders",
          "label": [
            {
              "t": "text",
              "text": "Solders"
            }
          ]
        },
        {
          "t": "text",
          "text": " provides Solana keypairs, transaction types, and RPC message codecs written in Rust with Python bindings. "
        },
        {
          "t": "link",
          "href": "#solana-py",
          "label": [
            {
              "t": "text",
              "text": "Solana.py"
            }
          ]
        },
        {
          "t": "text",
          "text": " uses it for its core types."
        }
      ]
    },
    {
      "q": "What is web3?",
      "a": [
        {
          "t": "link",
          "href": "#web-py",
          "label": [
            {
              "t": "fact",
              "fact": "F197"
            }
          ]
        },
        {
          "t": "text",
          "text": " is the Python library for Ethereum. It reads blocks and balances, sends transactions, and calls smart contracts through a node's JSON-RPC API."
        }
      ]
    },
    {
      "q": "What is python-bitcoinlib?",
      "a": [
        {
          "t": "link",
          "href": "#python-bitcoinlib",
          "label": [
            {
              "t": "text",
              "text": "python-bitcoinlib"
            }
          ]
        },
        {
          "t": "text",
          "text": " provides Bitcoin protocol data structures, scripts, and serialization in Python."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, eth-account",
      "display": "eth-account",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, eth-account",
      "display": "6.2M",
      "asOf": "2026-11-17"
    },
    "F3": {
      "label": "License, eth-account",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, eth-account",
      "display": "0.14.0, Aug 2026",
      "asOf": "2026-08-23"
    },
    "F5": {
      "label": "Package release date, eth-account",
      "display": "Aug 2026",
      "asOf": "2026-08-23"
    },
    "F6": {
      "label": "Repository stars, eth-account",
      "display": "314",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Transaction signing, eth-account",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Message signing, eth-account",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Key creation, eth-account",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Install, eth-account",
      "display": "pip install eth-account",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "What it does, eth-account",
      "display": "Signs Ethereum transactions and messages using local private keys.",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "strengths lead, eth-account",
      "display": "Works without a node connection",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths, eth-account",
      "display": "Create accounts and sign locally before choosing a broadcaster.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, eth-account",
      "display": "Signs structured Ethereum messages",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, eth-account",
      "display": "Use sign_typed_data for structured message signatures.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "limitations lead, eth-account",
      "display": "Typed-data signing remains unaudited",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations, eth-account",
      "display": "The typed-data implementation has not undergone an external audit.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, eth-account",
      "display": "Raw hashes need trusted origins",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, eth-account",
      "display": "Prefer sign_message over signing a hash supplied by someone else.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Quickstart, eth-account",
      "display": "from eth_account import Account\ndomain_data = {\n\"name\": \"Ether Mail\",\n\"version\": \"1\",\n\"chainId\": 1,\n\"verifyingContract\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\",\n\"salt\": b\"decafbeef\",\n}\nmessage_types = {\n\"Person\": [\n{\"name\": \"name\", \"type\": \"string\"},\n{\"name\": \"wallet\", \"type\": \"address\"},\n],\n\"Mail\": [\n{\"name\": \"from\", \"type\": \"Person\"},\n{\"name\": \"to\", \"type\": \"Person\"},\n{\"name\": \"contents\", \"type\": \"string\"},\n],\n}\nmessage_data = {\n\"from\": {\n\"name\": \"Cow\",\n\"wallet\": \"0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826\",\n},\n\"to\": {\n\"name\": \"Bob\",\n\"wallet\": \"0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB\",\n},\n\"contents\": \"Hello, Bob!\",\n}\nkey = (\n\"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"\n)\nsigned_message = Account.sign_typed_data(\nkey, domain_data, message_types, message_data\n)\nsigned_message.message_hash\nfull_message = {\n\"types\": {\n\"EIP712Domain\": [\n{\"name\": \"name\", \"type\": \"string\"},\n{\"name\": \"version\", \"type\": \"string\"},\n{\"name\": \"chainId\", \"type\": \"uint256\"},\n{\"name\": \"verifyingContract\", \"type\": \"address\"},\n{\"name\": \"salt\", \"type\": \"bytes32\"},\n],\n\"Person\": [\n{\"name\": \"name\", \"type\": \"string\"},\n{\"name\": \"wallet\", \"type\": \"address\"},\n],\n\"Mail\": [\n{\"name\": \"from\", \"type\": \"Person\"},\n{\"name\": \"to\", \"type\": \"Person\"},\n{\"name\": \"contents\", \"type\": \"string\"},\n],\n},\n\"primaryType\": \"Mail\",\n\"domain\": {\n\"name\": \"Ether Mail\",\n\"version\": \"1\",\n\"chainId\": 1,\n\"verifyingContract\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\",\n\"salt\": b\"decafbeef\",\n},\n\"message\": {\n\"from\": {\n\"name\": \"Cow\",\n\"wallet\": \"0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826\",\n},\n\"to\": {\n\"name\": \"Bob\",\n\"wallet\": \"0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB\",\n},\n\"contents\": \"Hello, Bob!\",\n},\n}\nsigned_message_2 = Account.sign_typed_data(\nkey, full_message=full_message\n)\nsigned_message_2.message_hash\nsigned_message_2 == signed_message\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function, eth-account",
      "display": "def sign_message(self, message: str | bytes) -> HexStr:\n    \"\"\"Sign a message using the wallet's private key.\n\n    Args:\n        message (str | bytes): The message to sign, either as a string or bytes\n\n    Returns:\n        HexStr: The signature as a hex string\n\n    \"\"\"\n    if isinstance(message, str):\n        message = message.encode()\n    message_obj = encode_defunct(message)\n    signed = self.account.sign_message(message_obj)\n    return HexStr(signed.signature.hex())\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function reference, eth-account",
      "display": "eth_account_wallet_provider.py · sign_message()",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project repository, eth-account",
      "display": "coinbase/agentkit",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project stars, coinbase/agentkit",
      "display": "1.4K",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project push date, coinbase/agentkit",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F26": {
      "label": "Library name, web3",
      "display": "web3.py",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Monthly downloads, web3",
      "display": "5.5M",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "License, web3",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Package release, web3",
      "display": "8.0.0, Aug 2026",
      "asOf": "2026-08-31"
    },
    "F30": {
      "label": "Package release date, web3",
      "display": "Aug 2026",
      "asOf": "2026-08-31"
    },
    "F31": {
      "label": "Repository stars, web3",
      "display": "5.5K",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Transaction signing, web3",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Message signing, web3",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Key creation, web3",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "RPC networking, web3",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Install, web3",
      "display": "pip install \"web3[tester]\"",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "What it does, web3",
      "display": "Reads Ethereum blockchain data and interacts with smart contracts.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths lead, web3",
      "display": "Reads and calls smart contracts",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths, web3",
      "display": "Use one client for blocks, transactions, and contract interactions.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths lead, web3",
      "display": "Offers multiple connection transports",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths, web3",
      "display": "Choose HTTP, IPC, or WebSocket connections to the node.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations lead, web3",
      "display": "Live reads need a node",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations, web3",
      "display": "Configure a provider connection before querying live Ethereum state.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations lead, web3",
      "display": "Test provider needs extra dependencies",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations, web3",
      "display": "Install the tester extra for the local Ethereum test provider.",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Quickstart, web3",
      "display": "from web3 import Web3, EthereumTesterProvider\nw3 = Web3(EthereumTesterProvider())\nw3.is_connected()\nw3.eth.get_block('latest')\n",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project function, web3",
      "display": "def read_contract(\n    self,\n    contract_address: ChecksumAddress,\n    abi: list[dict[str, Any]],\n    function_name: str,\n    args: list[Any] | None = None,\n    block_identifier: BlockIdentifier = \"latest\",\n) -> Any:\n    \"\"\"Read data from a smart contract.\n\n    Args:\n        contract_address (ChecksumAddress): The address of the contract to read from\n        abi (list[dict[str, Any]]): The ABI of the contract\n        function_name (str): The name of the function to call\n        args (list[Any] | None): Arguments to pass to the function call, defaults to empty list\n        block_identifier (BlockIdentifier): The block number to read from, defaults to 'latest'\n\n    Returns:\n        Any: The result of the contract function call\n\n    \"\"\"\n    contract = self.web3.eth.contract(address=contract_address, abi=abi)\n    func = contract.functions[function_name]\n    if args is None:\n        args = []\n    return func(*args).call(block_identifier=block_identifier)\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function reference, web3",
      "display": "eth_account_wallet_provider.py · read_contract()",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project repository, web3",
      "display": "coinbase/agentkit",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project stars, coinbase/agentkit",
      "display": "1.4K",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project push date, coinbase/agentkit",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F52": {
      "label": "Library name, solders",
      "display": "solders",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Monthly downloads, solders",
      "display": "1.7M",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "License, solders",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Package release, solders",
      "display": "0.29.0, Aug 2026",
      "asOf": "2026-08-13"
    },
    "F56": {
      "label": "Package release date, solders",
      "display": "Aug 2026",
      "asOf": "2026-08-13"
    },
    "F57": {
      "label": "Repository stars, solders",
      "display": "450",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Transaction signing, solders",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Message signing, solders",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Key creation, solders",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "RPC networking, solders",
      "display": "Unsupported",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Install, solders",
      "display": "pip install solders",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "What it does, solders",
      "display": "Provides Solana keypairs, transaction types, and RPC message codecs.",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths lead, solders",
      "display": "Builds typed RPC messages",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths, solders",
      "display": "Serialize RPC requests to JSON and parse typed responses.",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths lead, solders",
      "display": "Supports partial transaction signing",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths, solders",
      "display": "Collect signatures without sharing each signer’s private key.",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations lead, solders",
      "display": "RPC networking needs solana-py",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations, solders",
      "display": "Use solana-py to send requests to an RPC server.",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations lead, solders",
      "display": "Token clients live elsewhere",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations, solders",
      "display": "Use solana-py for SPL Token and Memo clients.",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Quickstart, solders",
      "display": "from solders.hash import Hash\nfrom solders.instruction import AccountMeta, Instruction\nfrom solders.keypair import Keypair\nfrom solders.message import MessageV0, to_bytes_versioned\nfrom solders.null_signer import NullSigner\nfrom solders.pubkey import Pubkey\nfrom solders.transaction import VersionedTransaction\n\nkeypair0 = Keypair()\nkeypair1 = Keypair()\nix = Instruction(\n    Pubkey.new_unique(), b\"\", [AccountMeta(keypair1.pubkey(), True, False)]\n)\nmessage = MessageV0.try_compile(keypair0.pubkey(), [ix], [], Hash.default())\n# sign with a real signer and a null signer\nsigners = (keypair0, NullSigner(keypair1.pubkey()))\npartially_signed = VersionedTransaction(message, signers)\nserialized = bytes(partially_signed)\ndeserialized = VersionedTransaction.from_bytes(serialized)\nassert deserialized == partially_signed\ndeserialized_message = deserialized.message\n# find the null signer in the deserialized transaction\nkeypair1_sig_index = next(\n    i\n    for i, key in enumerate(deserialized_message.account_keys)\n    if key == keypair1.pubkey()\n)\nsigs = deserialized.signatures\n# replace the null signature with a real signature\nsigs[keypair1_sig_index] = keypair1.sign_message(\n    to_bytes_versioned(deserialized_message)\n)\ndeserialized.signatures = sigs\nfully_signed = VersionedTransaction(message, [keypair0, keypair1])\nassert deserialized.signatures == fully_signed.signatures\nassert deserialized == fully_signed\nassert bytes(deserialized) == bytes(fully_signed)\n\n",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project function, solders",
      "display": "def sign_transaction(self, tx: Transaction) -> Transaction:\n    \"\"\"Sign a transaction using the wallet's keypair.\n\n    Args:\n        tx: The transaction to sign.\n\n    Returns:\n        The signed transaction.\n    \"\"\"\n    tx.sign([self.payer], tx.message.recent_blockhash)\n    return tx\n",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project function reference, solders",
      "display": "provider.py · sign_transaction()",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project repository, solders",
      "display": "kevinheavey/anchorpy",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project stars, kevinheavey/anchorpy",
      "display": "279",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Project push date, kevinheavey/anchorpy",
      "display": "Mar 2025",
      "asOf": "2025-03-26"
    },
    "F78": {
      "label": "Library name, solana",
      "display": "Solana.py",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Monthly downloads, solana",
      "display": "827.6K",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "License, solana",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Package release, solana",
      "display": "0.42.0, Nov 2026",
      "asOf": "2026-11-11"
    },
    "F82": {
      "label": "Package release date, solana",
      "display": "Nov 2026",
      "asOf": "2026-11-11"
    },
    "F83": {
      "label": "Repository stars, solana",
      "display": "1.4K",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Transaction signing, solana",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Message signing, solana",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Key creation, solana",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "RPC networking, solana",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Install, solana",
      "display": "pip install solana",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "What it does, solana",
      "display": "Connects Python applications to Solana RPC and token programs.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "strengths lead, solana",
      "display": "Provides an asynchronous RPC client",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "strengths, solana",
      "display": "Use AsyncClient with a context manager for connection cleanup.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "strengths lead, solana",
      "display": "Manages subscription handles",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "strengths, solana",
      "display": "Use returned handles to unsubscribe from the original connection.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "limitations lead, solana",
      "display": "Core types live in solders",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "limitations, solana",
      "display": "Import keypairs and transaction types from the solders package.",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "limitations lead, solana",
      "display": "Signature subscriptions are one-shot",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "limitations, solana",
      "display": "Unsubscribing after their notification raises ValueError.",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Quickstart, solana",
      "display": "import asyncio\nfrom solana.rpc.async_api import AsyncClient\n\n\nasync def main():\n    async with AsyncClient(\"https://api.devnet.solana.com\") as client:\n        res = await client.is_connected()\n    print(res)  # True\n\n    # Alternatively, close the client explicitly instead of using a context manager:\n    client = AsyncClient(\"https://api.devnet.solana.com\")\n    res = await client.is_connected()\n    print(res)  # True\n    await client.close()\n\n\nasyncio.run(main())\n",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Project function, solana",
      "display": "async def simulate(\n    self,\n    tx: Union[Transaction, VersionedTransaction],\n    opts: Optional[types.TxOpts] = None,\n) -> SimulateTransactionResp:\n    \"\"\"Simulate the given transaction, returning emitted logs from execution.\n\n    Args:\n        tx: The transaction to send.\n        signers: The set of signers in addition to the provider wallet that will\n            sign the transaction.\n        opts: Transaction confirmation options.\n\n    Returns:\n        The transaction simulation result.\n    \"\"\"\n    if opts is None:\n        opts = self.opts\n    return await self.connection.simulate_transaction(\n        tx, sig_verify=True, commitment=opts.preflight_commitment\n    )\n",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Project function reference, solana",
      "display": "provider.py · simulate()",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Project repository, solana",
      "display": "kevinheavey/anchorpy",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Project stars, kevinheavey/anchorpy",
      "display": "279",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Project push date, kevinheavey/anchorpy",
      "display": "Mar 2025",
      "asOf": "2025-03-26"
    },
    "F104": {
      "label": "Developer need",
      "display": "Reading Ethereum contract data",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Why choose web3",
      "display": "Ethereum block and contract interaction",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need in introduction",
      "display": "reading Ethereum contract data",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need",
      "display": "Signing Ethereum messages locally",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Why choose eth-account",
      "display": "local signing without a node connection",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need in introduction",
      "display": "signing Ethereum messages locally",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need",
      "display": "Managing Solana RPC connections",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Why choose solana",
      "display": "asynchronous RPC client access",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need in introduction",
      "display": "managing Solana RPC connections",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Developer need",
      "display": "Encoding Solana RPC messages",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Why choose solders",
      "display": "typed request and response codecs",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "Developer need in introduction",
      "display": "encoding Solana RPC messages",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "When to consider solana",
      "display": "the app also needs an RPC network client",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "Page introduction",
      "display": "Python blockchain libraries let application developers work with blockchain data and transactions.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Are these libraries interchangeable blockchain clients?",
      "display": "web3.py targets Ethereum blockchain and smart-contract interaction.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Are these libraries interchangeable blockchain clients?",
      "display": "Solana.py targets Solana RPC and uses solders for many core types.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Can eth-account sign without an Ethereum node?",
      "display": "The Account API does not require a connection to an Ethereum node.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does solders send JSON RPC requests over the network?",
      "display": "solders does not interact with RPC servers directly; solana-py supplies the transport.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Where did older Solana.py keypair types go?",
      "display": "Many core types moved to solders and are no longer supplied by solana-py itself.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Why does the local Ethereum test provider need an extra install?",
      "display": "EthereumTesterProvider has additional dependencies available through the tester extra.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: How does an Ethereum contract read differ from sending a transaction?",
      "display": "An eth_call executes without creating a new blockchain transaction and returns the contract result.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: What signs the Solana.py cookbook transaction?",
      "display": "The solders VersionedTransaction constructor signs with the keypairs supplied in its second argument.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Can a Solana subscription handle move between connections?",
      "display": "Subscription handles belong to their original connection.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Why does unsubscribing from a completed signature subscription fail?",
      "display": "Signature subscriptions are one-shot; after notification, the local handle is removed and unsubscribe raises ValueError.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Is mnemonic support in eth-account audited and stable?",
      "display": "Its mnemonic feature is explicitly experimental, unaudited, and subject to change.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Why should an application avoid signing an untrusted raw hash?",
      "display": "A supplied hash can be an arbitrary transaction; the API recommends sign_message for message-signing use.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: Can solders coordinate signatures without sharing private keys?",
      "display": "Its partial-signing workflow uses a dummy signature, serializes the transaction, then replaces it with the second signer’s signature.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "Library name, eth-utils",
      "display": "eth-utils",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Monthly downloads, eth-utils",
      "display": "8.2M",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "License, eth-utils",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Package release, eth-utils",
      "display": "6.0.0",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Package release date, eth-utils",
      "display": "Mar 2026",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Install, eth-utils",
      "display": "python -m pip install eth-utils",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Quickstart, eth-utils",
      "display": "from eth_utils import to_checksum_address\n\naddress = to_checksum_address('0xd3cda913deb6f67967b99d67acdfa1712c293601')\n",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Official description, eth-utils",
      "display": "Provides common utility functions for Python code that works with Ethereum.",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Quickstart source file, eth-utils",
      "display": "utilities.html",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Repository stars, eth-utils",
      "display": "337",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "RPC client, eth-utils",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Local signing, eth-utils",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Chain and native API layer, eth-utils",
      "display": "EVM address normalization,ABI function selectors/event topics,and typed conversion helpers; no transport or account signing.",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "First-call requirements, eth-utils",
      "display": "Local EIP55 formatting of the literal public sample address. No RPC or wallet/private key needed.",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Project function, eth-utils",
      "display": "@to_tuple\ndef normalize_filter_params(from_block, to_block, address, topics):\n    yield from_block\n    yield to_block\n\n    if address is None:\n        yield address\n    elif is_address(address):\n        yield to_canonical_address(address)\n    elif is_list_like(address):\n        yield tuple(to_canonical_address(item) for item in address)\n    else:\n        raise TypeError(f\"Address is not in a recognized format: {address}\")\n\n    if topics is None:\n        yield topics\n    elif is_valid_topic_array(topics):\n        yield tuple(\n            normalize_topic_list(item) if is_list_like(item) else normalize_topic(item)\n            for item in topics\n        )\n    else:\n        raise TypeError(f\"Topics are not in a recognized format: {address}\")\n",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Project source file, eth-utils",
      "display": "eth_tester/normalization/inbound.py",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Project full_name, eth-utils",
      "display": "ApeWorX/eth-tester",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Project stargazers_count, eth-utils",
      "display": "377",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Library name, eth-abi",
      "display": "eth-abi",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Monthly downloads, eth-abi",
      "display": "7.7M",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "License, eth-abi",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Package release, eth-abi",
      "display": "6.0.0",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Package release date, eth-abi",
      "display": "Aug 2026",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Install, eth-abi",
      "display": "python -m pip install eth-abi",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Quickstart, eth-abi",
      "display": "from eth_abi import encode\n\nencoded = encode(['uint256'], [12345])\n",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Official description, eth-abi",
      "display": "Encodes and decodes Ethereum ABI data.",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Quickstart source file, eth-abi",
      "display": "encoding.html",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Repository stars, eth-abi",
      "display": "256",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "RPC client, eth-abi",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Local signing, eth-abi",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Chain and native API layer, eth-abi",
      "display": "EVM contract ABI value encoding/decoding; output excludes function selector and transaction envelope.",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "First-call requirements, eth-abi",
      "display": "Local encoding of declared uint256 sample value; not a complete transaction or function selector.",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Project function, eth-abi",
      "display": "def encode_calldata(self, abi: ConstructorABI | MethodABI, *args) -> HexBytes:\n    if not abi.inputs:\n        return HexBytes(\"\")\n\n    parser = StructParser(abi)\n    arguments = parser.encode_input(args)\n    input_types = [i.canonical_type for i in abi.inputs]\n    python_types = tuple(self._python_type_for_abi_type(i) for i in abi.inputs)\n    converted_args = self.conversion_manager.convert(arguments, python_types)\n    encoded_calldata = encode(input_types, converted_args)\n    return HexBytes(encoded_calldata)\n",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Project source file, eth-abi",
      "display": "src/ape_ethereum/ecosystem.py",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Project full_name, eth-abi",
      "display": "ApeWorX/ape",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project stargazers_count, eth-abi",
      "display": "1.1K",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Library name, eth-keys",
      "display": "eth-keys",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Monthly downloads, eth-keys",
      "display": "6.4M",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "License, eth-keys",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Package release, eth-keys",
      "display": "0.8.0",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Package release date, eth-keys",
      "display": "Aug 2026",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Install, eth-keys",
      "display": "python -m pip install eth-keys",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Quickstart, eth-keys",
      "display": "from eth_keys import keys\n\nprivate_key = keys.PrivateKey(b'\\x01' * 32)\nsignature = private_key.sign_msg(b'a message')\n",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Official description, eth-keys",
      "display": "Provides a common API for Ethereum key operations.",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Quickstart source file, eth-keys",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Repository stars, eth-keys",
      "display": "177",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "RPC client, eth-keys",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Local signing, eth-keys",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Chain and native API layer, eth-keys",
      "display": "Low-level Ethereum secp256k1 keys,signatures,and public-key/address recovery; no RPC or account envelope.",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "First-call requirements, eth-keys",
      "display": "Literal public repeated01 test key from official README,for demonstration only. No real key read and no signing code executed. NativeECC fallback is available; CoinCurve backend is separately optional.",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Project function, eth-keys",
      "display": "def ecrecover(computation: ComputationAPI) -> ComputationAPI:\n    computation.consume_gas(constants.GAS_ECRECOVER, reason=\"ECRecover Precompile\")\n    data = computation.msg.data_as_bytes\n    raw_message_hash = data[:32]\n    message_hash = pad32r(raw_message_hash)\n\n    v_bytes = pad32r(data[32:64])\n    v = big_endian_to_int(v_bytes)\n\n    r_bytes = pad32r(data[64:96])\n    r = big_endian_to_int(r_bytes)\n\n    s_bytes = pad32r(data[96:128])\n    s = big_endian_to_int(s_bytes)\n\n    try:\n        validate_lt_secpk1n(r, title=\"ECRecover: R\")\n        validate_lt_secpk1n(s, title=\"ECRecover: S\")\n        validate_lte(v, 28, title=\"ECRecover: V\")\n        validate_gte(v, 27, title=\"ECRecover: V\")\n    except ValidationError:\n        return computation\n\n    canonical_v = v - 27\n\n    try:\n        signature = keys.Signature(vrs=(canonical_v, r, s))\n        public_key = signature.recover_public_key_from_msg_hash(message_hash)\n    except BadSignature:\n        return computation\n\n    address = public_key.to_canonical_address()\n    padded_address = pad32(address)\n\n    computation.output = padded_address\n    return computation\n",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Project source file, eth-keys",
      "display": "eth/precompiles/ecrecover.py",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Project full_name, eth-keys",
      "display": "ethereum/py-evm",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Project stargazers_count, eth-keys",
      "display": "2.3K",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Library name, eth-account",
      "display": "eth-account",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Monthly downloads, eth-account",
      "display": "6.3M",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "License, eth-account",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Package release, eth-account",
      "display": "0.14.0",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Package release date, eth-account",
      "display": "Aug 2026",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Install, eth-account",
      "display": "python -m pip install eth-account",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Quickstart, eth-account",
      "display": "from eth_account import Account\n\naccount = Account.create()\n",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Repository stars, eth-account",
      "display": "314",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "RPC client, eth-account",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Local signing, eth-account",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Chain and native API layer, eth-account",
      "display": "Local Ethereum account,message,and transaction signing without a node; distinct higher-level role from eth-keys.",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "First-call requirements, eth-account",
      "display": "Creates a new local account only if a user executes it; no generation or environment/key access performed during this research. No mnemonic/experimental wallet API or node needed.",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Library name, web3",
      "display": "web3",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Monthly downloads, web3",
      "display": "5.5M",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "License, web3",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Package release, web3",
      "display": "8.0.0",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Package release date, web3",
      "display": "Aug 2026",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Install, web3",
      "display": "pip install \"web3[tester]\"",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Quickstart, web3",
      "display": "from web3 import Web3, EthereumTesterProvider\n\nw3 = Web3(EthereumTesterProvider())\nblock = w3.eth.get_block('latest')\n",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Repository stars, web3",
      "display": "5.5K",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "RPC client, web3",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Local signing, web3",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Chain and native API layer, web3",
      "display": "EVM JSON-RPC client and ABI-aware contract calls; uses companion account/ABI components underneath.",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "First-call requirements, web3",
      "display": "Tester extra and compatible local Ethereum test backend required. No remote node or wallet secret needed for a local latest-block read; no chain/tester or SDK executed.",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Library name, solders",
      "display": "Solders",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Monthly downloads, solders",
      "display": "1.7M",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "License, solders",
      "display": "Unresolved",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Package release, solders",
      "display": "0.29.0",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Package release date, solders",
      "display": "Aug 2026",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Install, solders",
      "display": "pip install solders",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Quickstart, solders",
      "display": "from solders.keypair import Keypair\n\nkeypair = Keypair()\npublic_key = keypair.pubkey()\n",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Repository stars, solders",
      "display": "450",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "RPC client, solders",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Local signing, solders",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Chain and native API layer, solders",
      "display": "Rust-backed Solana keys,transaction/message/instruction models,RPC request/response serialization,and local testing; no RPC networking.",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "First-call requirements, solders",
      "display": "Local keypair creation and public-key extraction if executed; no RPC or filesystem key required. No keypair was generated in research.",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "License source conflict, solders",
      "display": "Current captured root LICENSE is Apache-2.0,and repository metadata agrees. README badge and captured Cargo workspace still say MIT; Cargo shows0.23.0 rather than selected published0.29.0. Selected PyPI0.29.0 metadata has null license/license_expression/license_files and no license classifier. Selected-release license is unresolved; current root grant is not silently substituted for an artifact-specific declaration. Resolve before counting complete.",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Project function, solders",
      "display": "async def main():\n    rpc = AsyncClient(\"https://api.devnet.solana.com\")\n\n    sender = Keypair()\n    recipient = Keypair()\n\n    LAMPORTS_PER_SOL = 1_000_000_000\n    transfer_amount = LAMPORTS_PER_SOL // 100  # 0.01 SOL\n\n    async with rpc:\n        # Get latest blockhash\n        latest_blockhash = await rpc.get_latest_blockhash()\n\n        # Create transfer instruction\n        transfer_instruction = transfer(\n            TransferParams(from_pubkey=sender.pubkey(), to_pubkey=recipient.pubkey(), lamports=transfer_amount)\n        )\n\n        # Create message\n        message = MessageV0.try_compile(\n            payer=sender.pubkey(),\n            instructions=[transfer_instruction],\n            address_lookup_table_accounts=[],\n            recent_blockhash=latest_blockhash.value.blockhash,\n        )\n\n        # Create and sign transaction\n        transaction = VersionedTransaction(message, [sender])\n\n        print(f\"Sender: {sender.pubkey()}\")\n        print(f\"Recipient: {recipient.pubkey()}\")\n        print(f\"Transfer Amount: {transfer_amount / LAMPORTS_PER_SOL} SOL\")\n        print(f\"Transaction created successfully\")\n",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Project source file, solders",
      "display": "docs/cookbook/transaction-operations/send-sol.md",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Project full_name, solders",
      "display": "michaelhly/solana-py",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Project stargazers_count, solders",
      "display": "1.4K",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Library name, solana",
      "display": "Solana.py",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Monthly downloads, solana",
      "display": "853.1K",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "License, solana",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Package release, solana",
      "display": "0.42.0",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Package release date, solana",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Install, solana",
      "display": "pip install solana",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Quickstart, solana",
      "display": "import asyncio\nfrom solana.rpc.async_api import AsyncClient\n\nasync def main():\n    async with AsyncClient('https://api.devnet.solana.com') as client:\n        return await client.is_connected()\n\nasyncio.run(main())\n",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Repository stars, solana",
      "display": "1.4K",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "RPC client, solana",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Local signing, solana",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Chain and native API layer, solana",
      "display": "Solana transport/RPC client with SPL helpers; Solders supplies current core model and signing APIs.",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "First-call requirements, solana",
      "display": "Requires reachable Solana RPC endpoint; official public devnet endpoint is sample data. Single context-managed basic health call,not duplicate alternative client lifecycle example. Nothing executed.",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Selected release RPC surface, solana",
      "display": "{\"selected_version\": \"0.42.0\", \"scope\": \"Exact selected-tag asynchronous client reference; not a qualifying external project example or a claim about an unreviewed synchronous caller.\", \"facts\": [\"AsyncClient supports asynchronous context entry and a basic connection health call.\", \"get_latest_blockhash returns GetLatestBlockhashResp,including value.blockhash as documented in its own reference example.\", \"The asynchronous send_transaction declaration accepts VersionedTransaction; no inference is made about the separate synchronous transfer module.\"]}",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Selected release RPC execution and dependencies, solana",
      "display": "{\"selected_version\": \"0.42.0\", \"RPC_execution\": \"asyncio client\", \"sync_Client_removed_in\": \"0.40.0\", \"unsupported_legacy_import\": \"solana.rpc.api.Client\", \"requires_python\": \">=3.11\", \"published_solders_constraint\": \">=0.28,<0.30\"}",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Library name, python-bitcoinlib",
      "display": "python-bitcoinlib",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Monthly downloads, python-bitcoinlib",
      "display": "568.9K",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "License, python-bitcoinlib",
      "display": "LGPL-3.0-or-later",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Package release, python-bitcoinlib",
      "display": "0.12.2",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Package release date, python-bitcoinlib",
      "display": "Jun 2023",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Install, python-bitcoinlib",
      "display": "pip install python-bitcoinlib",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Quickstart, python-bitcoinlib",
      "display": "from bitcoin.core import CMutableTransaction\n\ntransaction = CMutableTransaction()\nwire = transaction.serialize()\n",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Official description, python-bitcoinlib",
      "display": "Provides general tools for the Bitcoin protocol.",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Quickstart source file, python-bitcoinlib",
      "display": "bitcoin/core/__init__.py",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Repository stars, python-bitcoinlib",
      "display": "1.9K",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "RPC client, python-bitcoinlib",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Local signing, python-bitcoinlib",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Chain and native API layer, python-bitcoinlib",
      "display": "Low-level Bitcoin protocol,transaction,script,wallet,and Bitcoin Core RPC interfaces.",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "First-call requirements, python-bitcoinlib",
      "display": "Offline empty transaction model serialization for an API first call,not a valid funded/spendable transaction. libssl/nativecrypto requirements are separate; no Bitcoin Core RPC or private key needed.",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Raw transaction hash boundary, python-bitcoinlib",
      "display": "OpenTimestamps diagnostic hashes raw serialized bytes twice; witness-encoded data can yield wtxid instead of stripped txid. The SDK GetTxid method strips witness; selected function does not use it.",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python blockchain libraries web3 eth-account solana solders code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
