{"id":26086803,"url":"https://github.com/liqtags/layer2transactions","last_synced_at":"2026-05-19T09:05:04.354Z","repository":{"id":249852579,"uuid":"832689729","full_name":"liqtags/Layer2Transactions","owner":"liqtags","description":"Layer 2 transaction class for a Rollup on Bitcoin with EVM compatibility.","archived":false,"fork":false,"pushed_at":"2024-07-23T16:51:13.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T21:36:05.723Z","etag":null,"topics":["bitcoin","evm","layer-2"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liqtags.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-23T14:22:31.000Z","updated_at":"2024-07-23T16:52:23.000Z","dependencies_parsed_at":"2024-07-23T19:49:20.074Z","dependency_job_id":"bb932ded-ccf2-4caa-8052-0a21f5eb0d30","html_url":"https://github.com/liqtags/Layer2Transactions","commit_stats":null,"previous_names":["liqtags/layer2transactions"],"tags_count":0,"template":false,"template_full_name":"liqtags/packageStarter","purl":"pkg:github/liqtags/Layer2Transactions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liqtags%2FLayer2Transactions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liqtags%2FLayer2Transactions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liqtags%2FLayer2Transactions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liqtags%2FLayer2Transactions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liqtags","download_url":"https://codeload.github.com/liqtags/Layer2Transactions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liqtags%2FLayer2Transactions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266780435,"owners_count":23983043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","evm","layer-2"],"created_at":"2025-03-09T07:18:24.829Z","updated_at":"2026-05-19T09:04:59.326Z","avatar_url":"https://github.com/liqtags.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @liqtags/layer2transactions\n\nLayer 2 transaction class for a Rollup on Bitcoin with EVM compatibility.  \n\n## Methods\n\n- decodeLayer2Transaction - ```Decodes a layer 2 transaction```\n- encodeLayer2Transaction - ```Encodes a layer 2 transaction```\n- transactionObjectToEthereumTransactionObject - ```Converts a transaction object to an layer 2 transaction```\n- signTransaction - ```Signs a layer 2 transaction```\n- verifyTransactionSign - ```Verifies the signature of a layer 2 transaction```\n- remove0X - ```Removes the '0x' prefix from a hex string```\n- isToEmpty - ```Checks if the 'to' field in the transaction is empty```\n- sliceSomeBytes - ```Slices a specified number of bytes from the transaction```\n- createTo - ```Creates the 'to' field for the transaction```\n- getIndex - ```Gets the index from the transaction```\n- getValue - ```Gets the value field from the transaction```\n- getGas - ```Gets the gas limit from the transaction```\n- getGasPrice - ```Gets the gas price from the transaction```\n- getNonce - ```Gets the nonce from the transaction```\n- getV - ```Gets the 'v' value from the transaction signature```\n- getR - ```Gets the 'r' value from the transaction signature```\n- getS - ```Gets the 's' value from the transaction signature```\n- createTXObject - ```Creates a transaction object string from the given parameters```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliqtags%2Flayer2transactions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliqtags%2Flayer2transactions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliqtags%2Flayer2transactions/lists"}