{"id":20023950,"url":"https://github.com/thebojda/opendocsign","last_synced_at":"2025-09-11T05:36:48.824Z","repository":{"id":214617333,"uuid":"736635944","full_name":"TheBojda/opendocsign","owner":"TheBojda","description":"Signing any document on Ethereum blockchain","archived":false,"fork":false,"pushed_at":"2025-01-12T19:22:32.000Z","size":3560,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-03T15:45:33.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheBojda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-28T12:50:54.000Z","updated_at":"2025-01-12T19:22:35.000Z","dependencies_parsed_at":"2025-01-05T11:25:26.366Z","dependency_job_id":"d3decb2e-a07e-424e-9651-bedb82824c8a","html_url":"https://github.com/TheBojda/opendocsign","commit_stats":null,"previous_names":["thebojda/opendocsign"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheBojda/opendocsign","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBojda%2Fopendocsign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBojda%2Fopendocsign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBojda%2Fopendocsign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBojda%2Fopendocsign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheBojda","download_url":"https://codeload.github.com/TheBojda/opendocsign/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBojda%2Fopendocsign/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274583693,"owners_count":25311896,"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-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":[],"created_at":"2024-11-13T08:48:45.231Z","updated_at":"2025-09-11T05:36:48.800Z","avatar_url":"https://github.com/TheBojda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenDocSign - Sign Any Document on the Ethereum Blockchain\n\nOpenDocSign is a simple document signing service based on a [smart contract](contracts/DocSignContract.sol).\n\n## Smart Contract Methods\n\n### createDocument(bytes32 hash, address[] calldata signers, bool revokableSignatures)\n\nRegisters the document by its hash. The hash can be any keccak256 hash, such as a hash of a PDF document, a JSON file, a full tar file, or a Sparse Merkle Tree that contains the document in key/value format and is on-chain provable.\n\nParameters:\n- **hash** - The hash of the document.\n- **signers** - List of the document signer addresses (EOAs or smart contracts).\n- **revokableSignatures** - True if signatures are revokable.\n\n### signDocument(bytes32 hash, uint256 validTo)\n\nSigners can sign the document using this method. The document is identified by its hash. This method must be called by the signer.\n\nParameters:\n- **hash** - The hash of the document.\n- **validTo** - The signature is valid only until this timestamp. If the signature should always be valid, use MAX_UINT256 (2^256-1).\n\n### revokeDocumentSignature(bytes32 hash)\n\nRevokes the signature. Can be called only if the document is registered with revokableSignatures.\n\nParameters:\n- **hash** - The hash of the document.\n\n### isDocumentSignedBy(bytes32 hash, address signer) returns (bool)\n\nChecks if the document is signed by a given address.\n\nParameters:\n- **hash** - The hash of the document.\n- **signer** - Address of the signer.\n\n### isDocumentFullySigned(bytes32 hash) returns (bool)\n\nChecks if the document is fully signed by all of the registered signers.\n\nParameters:\n- **hash** - The hash of the document.\n\n### signDocumentMetaTX(address signer, bytes32 hash, uint256 validTo, uint256 nonce, bytes calldata signature)\n\nSigns the document using a meta-transaction. This method allows a third party to submit the signature on behalf of the signer.\n\nParameters:\n- **signer** - Address of the signer.\n- **hash** - The hash of the document.\n- **validTo** - The signature is valid only until this timestamp. If the signature should always be valid, use MAX_UINT256 (2^256-1).\n- **nonce** - A unique value to prevent replay attacks.\n- **signature** - The signature of the signer.\n\n### revokeDocumentSignatureMetaTX(address signer, bytes32 hash, uint256 nonce, bytes calldata signature)\n\nRevokes the signature using a meta-transaction. This method allows a third party to submit the revocation on behalf of the signer.\n\nParameters:\n- **signer** - Address of the signer.\n- **hash** - The hash of the document.\n- **nonce** - A unique value to prevent replay attacks.\n- **signature** - The signature of the signer.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebojda%2Fopendocsign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebojda%2Fopendocsign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebojda%2Fopendocsign/lists"}