metadata: {"title": "Loop Decoder", "logoImg": "bafkreicuowbieib5orgvkklukja4tbldzyewtc6pyytzwzsrqbh4xvna5q", "website": "https://loop-decoder.3loop.io", "bannerImg": "bafkreievps3vkz7uw4v6mfxg5h4x72vwa7m74ike2et3fanw6rw4sdjnrq", "createdAt": 1713638547609, "userGithub": "anastasiarods", "credentials": {"github": {"type": ["VerifiableCredential"], "proof": {"jws": "eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..0raEteM5jVfCnHPuzTBcOgtDUx9tB-VXQPOQjeZM1tLvXyu8FX5hvEGcOdksWd6Ye0Sb03uou8VO6tCWCsz0Cg", "type": "Ed25519Signature2018", "created": "2024-04-20T18:42:13.932Z", "proofPurpose": "assertionMethod", "verificationMethod": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC#z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC"}, "issuer": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC", "@context": ["https://www.w3.org/2018/credentials/v1"], "issuanceDate": "2024-04-20T18:42:13.932Z", "expirationDate": "2024-07-19T18:42:13.932Z", "credentialSubject": {"id": "did:pkh:eip155:1:0x6C994eEF6fdbeE8BCFF9016B7CE3A53b489Ad155", "hash": "v0.0.0:uNa/Qhzc7DJr4Ud+PFOUWH1p0/oApesUblPTOp8vjo4=", "@context": [{"hash": "https://schema.org/Text", "provider": "https://schema.org/Text"}], "provider": "ClearTextGithubOrg#3loop#16974922"}}, "twitter": {"type": ["VerifiableCredential"], "proof": {"jws": "eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..XUwu9x9Vt1Q8yFZ0IJ8AQXX_8v6iOHIUuJdXnCqnkrSLHfgxgB_WuXuPgs0-R01PbQLG6uKJlX39Khw-7pvDCg", "type": "Ed25519Signature2018", "created": "2024-04-20T18:44:49.839Z", "proofPurpose": "assertionMethod", "verificationMethod": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC#z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC"}, "issuer": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC", "@context": ["https://www.w3.org/2018/credentials/v1"], "issuanceDate": "2024-04-20T18:44:49.839Z", "expirationDate": "2024-07-19T18:44:49.839Z", "credentialSubject": {"id": "did:pkh:eip155:1:0x6C994eEF6fdbeE8BCFF9016B7CE3A53b489Ad155", "hash": "v0.0.0:B+A9pdW4fIFztjI4R5yGnObLw2OoIMw72yDG2vTN1Rw=", "@context": [{"hash": "https://schema.org/Text", "provider": "https://schema.org/Text"}], "provider": "ClearTextTwitter#3loop_io"}}}, "description": "# Loop Decoder\n\nLoop Decoder is a TypeScript library with minimal external dependencies that transforms blockchain data into a human-readable format.\n\n## Key Features\n\n- Works in any JavaScript environment\n- Minimal external dependencies - you only need an RPC; everything else can be fetched from your own storage\n- Highly customizable - we don't force you to use a specific API or storage; instead, we provide data loaders\n\n## Transaction Decoder\n\nThe [Transaction Decoder](https://github.com/3loop/loop-decoder/tree/main/packages/transaction-decoder) package transforms raw transactions, including calldata, traces, and events, into a structured format with detailed information about all function calls and parameters. The decoded transaction includes:\n\n- Method calls\n- Trace calls\n- Events\n- All transfers\n- Interactions with other contracts\n- Error information\n\nSee the Decoded Transaction section in our [playground](https://loop-decoder-web.vercel.app/) for transaction examples.\n\n## Transaction Interpreter\n\nThe [Transaction Interpreter](https://github.com/3loop/loop-decoder/tree/main/packages/transaction-interpreter) allows you to understand what really happened in any transaction. In Loop Decoder, this is a JavaScript function that takes a Decoded Transaction and selects the most important fields and parameters based on the type of contract interacted with. The goal is to abstract away blockchain and smart contract nuances, producing an object understandable for both technical and non-technical users.\n\n## Examples\n\n- [Decoder HTTP Server](https://github.com/3loop/decoder-api) - A simple HTTP server that exposes a REST API to decode transactions\n- [Firebase Push Notifications](https://github.com/3loop/example-push-notifications) - Firebase Cloud Function that sends push notifications with decoded transactions\n- [Farcaster Frame](https://github.com/3loop/transaction-frame) - Farcaster Frame that displays transaction in a human-readable format\n- [Farcaster Bot](https://loop-decoder.3loop.io/recipes/fc-bot/) - Farcaster Bot for human-readable transaction alerts\n- [Telegram Bot](https://loop-decoder.3loop.io/recipes/tg-bot/) - Telegram Bot for human-readable transaction alerts\n\n## Links\n\n- [GitHub](https://github.com/3loop/loop-decoder/)\n- [Documentation](https://loop-decoder.3loop.io/)\n- [Playground](https://loop-decoder-web.vercel.app/)", "logoImgData": {}, "bannerImgData": {}, "projectGithub": "3loop", "projectTwitter": "3loop_io"}
name: Loop Decoder