{"id":20049012,"url":"https://github.com/unlock-protocol/hardhat-plugin-example","last_synced_at":"2026-06-07T02:31:39.615Z","repository":{"id":59411374,"uuid":"457769447","full_name":"unlock-protocol/hardhat-plugin-example","owner":"unlock-protocol","description":"A simple example of how to use hardhat plugin","archived":false,"fork":false,"pushed_at":"2022-09-15T18:56:36.000Z","size":170,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T20:44:28.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/unlock-protocol.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}},"created_at":"2022-02-10T12:23:09.000Z","updated_at":"2023-01-27T20:46:57.000Z","dependencies_parsed_at":"2022-09-16T01:23:03.738Z","dependency_job_id":null,"html_url":"https://github.com/unlock-protocol/hardhat-plugin-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Fhardhat-plugin-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Fhardhat-plugin-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Fhardhat-plugin-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Fhardhat-plugin-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlock-protocol","download_url":"https://codeload.github.com/unlock-protocol/hardhat-plugin-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241478715,"owners_count":19969337,"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","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-13T11:47:57.721Z","updated_at":"2026-06-07T02:31:39.609Z","avatar_url":"https://github.com/unlock-protocol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unlock Hardhat Plugin Sample Project\n\nThis project demonstrates a basic use case for Hardhat Unlock. \n\n## How to use \n\n1. install deps with `yarn` or `npm i`\n2. add your RPC endpoint to the `hardhat.config.js` (as [explained here](https://hardhat.org/config/))\n3. from your terminal, try running the following (with the address of your lock):\n\n```shell\nnpx hardhat lock:info --lock-address \u003cyour-lock-address\u003e --network \u003cyour network\u003e\n```\n\n### Test locally\n\nCreate a lock and buy a bunch of keys\n\n```\nyarn hardhat run scripts/createSampleLock.js\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlock-protocol%2Fhardhat-plugin-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlock-protocol%2Fhardhat-plugin-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlock-protocol%2Fhardhat-plugin-example/lists"}