Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nation3/n3bi
Basic Income (BI) for Nation3 citizens
https://github.com/nation3/n3bi
basic-income ethereum n3bi ubi universal-basic-income
Last synced: about 2 months ago
JSON representation
Basic Income (BI) for Nation3 citizens
- Host: GitHub
- URL: https://github.com/nation3/n3bi
- Owner: nation3
- License: gpl-3.0
- Created: 2022-07-01T03:02:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T16:36:46.000Z (9 months ago)
- Last Synced: 2024-04-13T00:04:28.263Z (9 months ago)
- Topics: basic-income, ethereum, n3bi, ubi, universal-basic-income
- Language: TypeScript
- Homepage: https://income.nation3.org
- Size: 10.6 MB
- Stars: 2
- Watchers: 4
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# N3BI
Nation3 Basic Income (N3BI)
## North Star Metric
Metric: Number of [_active_](https://github.com/nation3/nationcred-datasets/tree/main/nationcred#definition-of-active) citizens.
## Research Summary
https://app.clarity.so/nation3-public/docs/6fdd30ab-c6e3-4faa-942f-7a7a9a0cab16
## Functionality
### Two Smart Contracts
```mermaid
sequenceDiagram
participant BasicIncomeDistributor
participant NationCred
BasicIncomeDistributor->>NationCred: Is citizen active?
activate NationCred
NationCred->>BasicIncomeDistributor: Yes/No
```### Eligibility Based on NationCred
The [`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.
At the end of each week, Nation3's NationCred smart contract will be automatically updated with the list of citizens that are eligible.
### Enrollment
A Nation3 citizen can only be enrolled if the following prerequisites are in place:
1. The account owns a passport NFT
1. The passport has not expired
1. The passport is not about to expire within the next year
1. The citizen is [active](https://github.com/nation3/nationcred-datasets/tree/main/nationcred#definition-of-active)Once eligible, the citizen can enroll for Basic Income, as long as the smart contract contains enough funding for
covering one additional citizen's Basic Income for the duration of 1 year.### Claiming
Once enrolled, citizens can claim their earned Basic Income at any time.
After 1 year, the enrollment will expire. And additional Basic Income can only be claimed after re-enrolling for
another year.