{"id":24807737,"url":"https://github.com/leechael/vrf-phat-contract","last_synced_at":"2026-05-06T05:32:27.876Z","repository":{"id":202750791,"uuid":"706932152","full_name":"Leechael/vrf-phat-contract","owner":"Leechael","description":"Generic Verifiable Randomness Function Solution for any blockchains","archived":false,"fork":false,"pushed_at":"2024-03-08T14:49:08.000Z","size":345,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-14T04:07:32.494Z","etag":null,"topics":["blockchain","foundry","hardhat","oracle","phala","phat-contract","randomness","solidity","vrf"],"latest_commit_sha":null,"homepage":"","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/Leechael.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}},"created_at":"2023-10-18T22:07:17.000Z","updated_at":"2023-10-28T03:24:39.000Z","dependencies_parsed_at":"2025-01-30T09:38:18.229Z","dependency_job_id":null,"html_url":"https://github.com/Leechael/vrf-phat-contract","commit_stats":null,"previous_names":["leechael/vrf-phat-contract"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leechael%2Fvrf-phat-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leechael%2Fvrf-phat-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leechael%2Fvrf-phat-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leechael%2Fvrf-phat-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leechael","download_url":"https://codeload.github.com/Leechael/vrf-phat-contract/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245442004,"owners_count":20615918,"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":["blockchain","foundry","hardhat","oracle","phala","phat-contract","randomness","solidity","vrf"],"created_at":"2025-01-30T09:27:30.304Z","updated_at":"2026-05-06T05:32:27.822Z","avatar_url":"https://github.com/Leechael.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Using Phat Contract as VRF Provider\n\nThis repository contains code examples demonstrating the usage of the VRF provided by [Phat Contract](https://phala.network/phat-contract).\n\n- native_phat_contract: the simple implementaion shown how to call vrf in rust.\n- hardhat_solidity: The Phat Contract powered Oracle provides VRF capacity to any EVM chains and Solidity Smart Contracts in this ERC-721 NFT demo.\n- foundry_solidity: Same to the hardhat implementaion but use foundry instead hardhat here.\n\n## NOTE\n\nBoth hardhat and foundry examples here using npm for dependencies management, run `npm install` or `yarn install` before compiling.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleechael%2Fvrf-phat-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleechael%2Fvrf-phat-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleechael%2Fvrf-phat-contract/lists"}