{"id":18668286,"url":"https://github.com/nation3/n3bi","last_synced_at":"2025-04-12T00:23:30.023Z","repository":{"id":41368508,"uuid":"509302809","full_name":"nation3/n3bi","owner":"nation3","description":"Basic Income (BI) for Nation3 citizens","archived":false,"fork":false,"pushed_at":"2024-04-12T16:36:46.000Z","size":11133,"stargazers_count":2,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-13T00:04:28.263Z","etag":null,"topics":["basic-income","ethereum","n3bi","ubi","universal-basic-income"],"latest_commit_sha":null,"homepage":"https://income.nation3.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nation3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-07-01T03:02:47.000Z","updated_at":"2024-04-15T11:10:57.550Z","dependencies_parsed_at":"2024-02-14T12:27:47.054Z","dependency_job_id":"a6ec00f7-84c8-4a64-893e-c21c5d536439","html_url":"https://github.com/nation3/n3bi","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nation3%2Fn3bi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nation3%2Fn3bi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nation3%2Fn3bi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nation3%2Fn3bi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nation3","download_url":"https://codeload.github.com/nation3/n3bi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248498534,"owners_count":21114135,"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":["basic-income","ethereum","n3bi","ubi","universal-basic-income"],"created_at":"2024-11-07T08:42:10.684Z","updated_at":"2025-04-12T00:23:29.998Z","avatar_url":"https://github.com/nation3.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# N3BI\n\nNation3 Basic Income (N3BI)\n\n## North Star Metric\n\nMetric: Number of [_active_](https://github.com/nation3/nationcred-datasets/tree/main/nationcred#definition-of-active) citizens.\n\n## Research Summary\n\nhttps://app.clarity.so/nation3-public/docs/6fdd30ab-c6e3-4faa-942f-7a7a9a0cab16\n\n## Functionality\n\n### Two Smart Contracts\n\n```mermaid\nsequenceDiagram\n    participant BasicIncomeDistributor\n    participant NationCred\n    BasicIncomeDistributor-\u003e\u003eNationCred: Is citizen active?\n    activate NationCred\n    NationCred-\u003e\u003eBasicIncomeDistributor: Yes/No\n```\n\n### Eligibility Based on NationCred\n\nThe [`NationCred.sol`](https://github.com/nation3/nationcred-contracts/blob/main/contracts/NationCred.sol) smart contract contains code for getting the citizen activity status for a given passport ID.\n\nAt the end of each week, Nation3's NationCred smart contract will be automatically updated with the list of citizens that are eligible.\n\n### Enrollment\n\nA Nation3 citizen can only be enrolled if the following prerequisites are in place:\n\n1. The account owns a passport NFT\n1. The passport has not expired\n1. The passport is not about to expire within the next year\n1. The citizen is [active](https://github.com/nation3/nationcred-datasets/tree/main/nationcred#definition-of-active)\n\nOnce eligible, the citizen can enroll for Basic Income, as long as the smart contract contains enough funding for \ncovering one additional citizen's Basic Income for the duration of 1 year.\n\n### Claiming\n\nOnce enrolled, citizens can claim their earned Basic Income at any time.\n\nAfter 1 year, the enrollment will expire. And additional Basic Income can only be claimed after re-enrolling for \nanother year.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnation3%2Fn3bi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnation3%2Fn3bi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnation3%2Fn3bi/lists"}