diff --git a/README.md b/README.md index 5c3dd0f0d96da6abdf7aab3a6fee40727002eb7a..4520677a29506e70da95242143adb4eb91e71464 100644 --- a/README.md +++ b/README.md @@ -16,17 +16,13 @@ For all changes, make a PR to develop branch, which goes to staging.hive.io. Aft ```bash # install dependencies -$ npm install +pnpm install -# serve with hot reload at localhost:3000 -$ npm run dev +pnpm build +pnpm dev -# build for production and launch server -$ npm run build -$ npm run start - -# lint the project -$ npm run lint +pnpm start +pnpm lint ``` For detailed explanation on how things work, check out [Next.js docs](https://nextjs.org) diff --git a/apps/web/public/hive_token_distribution.mermaid b/apps/web/public/hive_token_distribution.mermaid new file mode 100644 index 0000000000000000000000000000000000000000..ee142654dd46d66c5814ce94abe9f4a01a54dc60 --- /dev/null +++ b/apps/web/public/hive_token_distribution.mermaid @@ -0,0 +1,86 @@ +graph TB + %% Main source - Blockchain inflation + INFLATION["🏭 HIVE BLOCKCHAIN INFLATION
New HIVE tokens
(currently 5.74% annually, decreasing by 0.42%/year)"] + + %% Split of inflation into 4 main streams + INFLATION -->|65%| REWARD_POOL["💰 REWARD POOL
65% of inflation"] + INFLATION -->|15%| HP_HOLDERS["⚡ HIVE POWER HOLDERS
15% of inflation"] + INFLATION -->|10%| WITNESSES["đŸ‘Ĩ WITNESSES
(Block Producers)
10% of inflation"] + INFLATION -->|10%| DHF_INFLATION["đŸ›ī¸ DECENTRALIZED HIVE FUND
(DHF / @hive.fund)
10% of inflation"] + + %% Reward pool details + REWARD_POOL -->|50%| AUTHORS["âœī¸ CONTENT AUTHORS
(Content Creators)
32.5% of total inflation"] + REWARD_POOL -->|50%| CURATORS["👍 CURATORS
(Voters/Curators)
32.5% of total inflation"] + + %% Payouts for authors and curators + AUTHORS -->|HP/HBD/HIVE| USERS1["👤 Users
Author accounts"] + CURATORS -->|HP| USERS2["👤 Users
Curator accounts"] + + %% Witnesses + WITNESSES -->|HP| WITNESS_ACCOUNTS["🔐 Witness Accounts
For signing blocks"] + + %% HP Holders + HP_HOLDERS -->|HP| STAKERS["💎 Stakers
Proportional to stake"] + + %% === DETAILED DHF FLOW === + + HBD_STABILIZER["🔄 HBD STABILIZER
(@hbdstabilizer)
HBD price stabilization"] + HBD_STABILIZER -->|Surplus HIVE/HBD
from trading| DHF_MAIN + + %% Main DHF node + DHF_INFLATION -->|Conversion
HIVE → HBD| DHF_MAIN + + DHF_MAIN["đŸ›ī¸ DECENTRALIZED HIVE FUND
Account: @hive.fund

💰 New Resources:
â€ĸ HBD from inflation (10%)

💰 Returned Resources:â€ĸ HBD/HIVE from stabilizer
â€ĸ Return proposal
â€ĸ Post beneficiaries"] + + %% HIVE to HBD conversion in DHF + DHF_MAIN --> HBD_POOL["đŸ’ĩ HBD POOL
in DHF

Only 1% daily
available for payouts"] + + %% Proposal voting system + STAKEHOLDERS["đŸ—ŗī¸ STAKEHOLDERS
(HP Holders)

Vote on proposals
with their stake weight"] + + STAKEHOLDERS -.->|Vote| PROPOSAL_SYSTEM + + PROPOSAL_SYSTEM["📋 PROPOSAL SYSTEM

Mechanism:
â€ĸ Proposals compete for funding
â€ĸ Return Proposal = benchmark
â€ĸ Proposals above benchmark
receive funding"] + + %% Return Proposal + HBD_POOL -->|Unused
funds| RETURN_PROPOSAL["â†Šī¸ RETURN PROPOSAL
(@gtg)

Benchmark for other proposals
Returns unspent HBD to DHF"] + RETURN_PROPOSAL -->|Fund return| DHF_MAIN + + %% Payouts for approved proposals + HBD_POOL -->|Hourly payouts
for approved proposals| APPROVED_PROPOSALS + + APPROVED_PROPOSALS["✅ APPROVED PROPOSALS

Proposals with sufficient
HP support exceeding
Return Proposal"] + + %% Example proposal categories + APPROVED_PROPOSALS -->|HBD| DEV_PROJECTS["đŸ’ģ SOFTWARE DEVELOPMENT PROJECTS/Libraries
API Infrastructure"] + + APPROVED_PROPOSALS -->|HBD| MARKETING["đŸ“ĸ MARKETING & PROMOTION
ValuePlan
Ad campaigns
Onboarding"] + + APPROVED_PROPOSALS -->|HBD| INFRASTRUCTURE["đŸ–Ĩī¸ INFRASTRUCTURE
API nodes
Witness servers
Developer tools"] + + %% HBD Stabilizer - detailed flow + HBD_POOL -->|Budget for
stabilizer| HBD_STABILIZER + + HBD_STABILIZER <-->|When HBD > $1:
Sells HBD| INTERNAL_MARKET["đŸĒ INTERNAL MARKET
Hive DEX"] + + HBD_STABILIZER <-->|When HBD < $0.97:
Buys HBD| INTERNAL_MARKET + + %% End recipients of projects + DEV_PROJECTS -->|Compensation| DEVELOPERS["👨‍đŸ’ģ DEVELOPERS
Software creators"] + MARKETING -->|Budgets| MARKETERS["📱 MARKETERS
Campaign creators"] + INFRASTRUCTURE -->|Operating costs| NODE_OPERATORS["đŸ–Ĩī¸ NODE OPERATORS
Infrastructure providers"] + + %% Styling + classDef inflationNode fill:#ff6b6b,stroke:#c92a2a,stroke-width:3px,color:#fff + classDef dhfNode fill:#4c6ef5,stroke:#364fc7,stroke-width:3px,color:#fff + classDef proposalNode fill:#51cf66,stroke:#2f9e44,stroke-width:2px,color:#000 + classDef userNode fill:#ffd43b,stroke:#f59f00,stroke-width:2px,color:#000 + classDef rewardNode fill:#ff922b,stroke:#e8590c,stroke-width:2px,color:#fff + classDef stabilizerNode fill:#9775fa,stroke:#6741d9,stroke-width:2px,color:#fff + + class INFLATION inflationNode + class DHF_INFLATION,DHF_MAIN,HBD_POOL,NINJA_STAKE dhfNode + class PROPOSAL_SYSTEM,APPROVED_PROPOSALS,RETURN_PROPOSAL proposalNode + class USERS1,USERS2,WITNESS_ACCOUNTS,STAKERS,DEVELOPERS,MARKETERS,NODE_OPERATORS,GAME_DEVS,TOOL_DEVS userNode + class REWARD_POOL,AUTHORS,CURATORS,HP_HOLDERS,WITNESSES rewardNode + class HBD_STABILIZER,INTERNAL_MARKET stabilizerNode \ No newline at end of file diff --git a/apps/web/public/hive_token_distribution.svg b/apps/web/public/hive_token_distribution.svg new file mode 100644 index 0000000000000000000000000000000000000000..8b3853a7b162d00b8fbdf9a38f7bfe98d7ab3aa6 --- /dev/null +++ b/apps/web/public/hive_token_distribution.svg @@ -0,0 +1,102 @@ +

65%

15%

10%

10%

50%

50%

HP/HBD/HIVE

HP

HP

HP

Surplus HIVE/HBD
from trading

Conversion
HIVE → HBD

Vote

Unused
funds

Fund return

Hourly payouts
for approved proposals

HBD

HBD

HBD

Budget for
stabilizer

When HBD > $1:
Sells HBD

When HBD < $0.97:
Buys HBD

Compensation

Budgets

Operating costs

🏭 HIVE BLOCKCHAIN INFLATION
New HIVE tokens
(currently 5.74% annually, decreasing by 0.42%/year)

💰 REWARD POOL
65% of inflation

⚡ HIVE POWER HOLDERS
15% of inflation

đŸ‘Ĩ WITNESSES
(Block Producers)
10% of inflation

đŸ›ī¸ DECENTRALIZED HIVE FUND
(DHF / @hive.fund)
10% of inflation

âœī¸ CONTENT AUTHORS
(Content Creators)
32.5% of total inflation

👍 CURATORS
(Voters/Curators)
32.5% of total inflation

👤 Users
Author accounts

👤 Users
Curator accounts

🔐 Witness Accounts
For signing blocks

💎 Stakers
Proportional to stake

🔄 HBD STABILIZER
(@hbdstabilizer)
HBD price stabilization

đŸ›ī¸ DECENTRALIZED HIVE FUND
Account: @hive.fund

💰 New Resources:
â€ĸ HBD from inflation (10%)

💰 Returned Resources:â€ĸ HBD/HIVE from stabilizer
â€ĸ Return proposal
â€ĸ Post beneficiaries

đŸ’ĩ HBD POOL
in DHF

Only 1% daily
available for payouts

đŸ—ŗī¸ STAKEHOLDERS
(HP Holders)

Vote on proposals
with their stake weight

📋 PROPOSAL SYSTEM

Mechanism:
â€ĸ Proposals compete for funding
â€ĸ Return Proposal = benchmark
â€ĸ Proposals above benchmark
receive funding

â†Šī¸ RETURN PROPOSAL
(@gtg)

Benchmark for other proposals
Returns unspent HBD to DHF

✅ APPROVED PROPOSALS

Proposals with sufficient
HP support exceeding
Return Proposal

đŸ’ģ SOFTWARE DEVELOPMENT PROJECTS/Libraries
API Infrastructure

đŸ“ĸ MARKETING & PROMOTION
ValuePlan
Ad campaigns
Onboarding

đŸ–Ĩī¸ INFRASTRUCTURE
API nodes
Witness servers
Developer tools

đŸĒ INTERNAL MARKET
Hive DEX

👨‍đŸ’ģ DEVELOPERS
Software creators

📱 MARKETERS
Campaign creators

đŸ–Ĩī¸ NODE OPERATORS
Infrastructure providers

\ No newline at end of file diff --git a/apps/web/src/components/join/RegistrationProviders.tsx b/apps/web/src/components/join/RegistrationProviders.tsx index 42e76eb952d869ab2d1be8fba053ad938318d186..d187065b45b1a2a32fe04f15fd4ef7b693d241b6 100644 --- a/apps/web/src/components/join/RegistrationProviders.tsx +++ b/apps/web/src/components/join/RegistrationProviders.tsx @@ -15,14 +15,14 @@ interface Provider { } const DEFAULT_PROVIDERS: Provider[] = [ - { - name: 'InLeo', - logo: '/images/apps/inleo.avif', - price: 'Free', - isFree: true, - features: ['Email, Google or X signup', 'Instant activation'], - url: 'https://inleo.io/signup', - }, + // { + // name: 'InLeo', + // logo: '/images/apps/inleo.avif', + // price: 'Free', + // isFree: true, + // features: ['Email, Google or X signup', 'Instant activation'], + // url: 'https://inleo.io/signup', + // }, { name: 'Ecency', logo: '/images/apps/ecency.svg', @@ -55,8 +55,8 @@ async function fetchHivedexPrice(): Promise { try { const response = await fetch('https://api2.hivedex.io/price') const data = await response.json() - if (data?.base) { - return `$${data.base}` + if (data?.price) { + return `$${data.price}` } return null } catch { @@ -114,7 +114,7 @@ export function RegistrationProviders({ className, showTitle }: RegistrationProv )} -
+
{providers.map((provider) => (