bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 20쪽 중 14쪽
TF-8 bytes of `quote.signingMessage` with the same Solana wallet. Encode the detached signature as base58.
```ts
const buyerAddress = wallet.publicKey.toBase58();
const signature = base58.encode(
await wallet.signMessage(new TextEncoder().encode(quote.signingMessage)),
);
await partnerApi.submitTopup({
quoteId: quote.id,
receipt: { deposit: { txHash, buyerAddress } },
userSignature: { signature, publicKey: buyerAddress, scheme: "solana" },
});
```
The signature wallet, preflight wallet, and transaction payer must identify the same wallet account.
# Canton example
Execute a Carbon card top-up from a Canton wallet through the Zebec Partner API.
Use this flow for a quote whose `payment.chain` is `CANTON`. The Partner API does not provide a Canton payment SDK, so submit the quote-defined transfer through your Canton wallet or ledger API.
Begin with the shared [top-up flow](/developer-docs/partner-api/topup-flow), including preflight. For Canton, `buyerAddress` is the public signing key used by your integration.
## Request and execute the quote
```http
GET /partner/v1/topup/quote?amount=100¤cyCode=USD&sourceChain=CANTON&sourceTokenMint=<token-id>
Authorization: Bearer <accessToken>
```
Use the quote's network, token identifier, base-unit amount, and receiving instructions unchanged. Save the ledger transaction identifier as `txHash` only after the transfer is confirmed by your Canton integration.
## Sign and submit
Sign the exact UTF-8 `signingMessage` from the quote. `publicKey` and `buyerAddress` must be the same Canton signing key after whitespace and an optional `0x` prefix are normalized.
```json
{
"quoteId": "<quote-id>",
"receipt": {
"deposit": {
"txHash": "<confirmed-canton-transaction-id>",
"buyerAddress": "<canton-public-signing-key>"
}
},
"userSignature": {
"signature": "<base64-base58-or-hex-signature>",
"publicKey": "<canton-public-signing-key>",
"scheme": "canton",
"cantonAlgorithm": "ed25519"
}
}
```
`ed25519` is the default. For ECDSA keys, set `cantonAlgorithm` to `ec-dsa-sha-256` or `ec-dsa-sha-384` and send the ECDSA signature in DER format. Do not use an account identifier in place of the signing public key.
# Zano example
Execute a Carbon card top-up from a Zano wallet through the Zebec Partner API.
Use this flow for a quote whose `payment.chain` is `ZANO`. Start with the shared [top-up flow](/developer-docs/partner-api/topup-flow) through preflight. The paying wallet's full Zano address is the `buyerAddress` for preflight and submission.
## Request and inspect the quote
```http
GET /partner/v1/topup/quote?amount=100¤cyCode=USD&sourceChain=ZANO&sourceTokenMint=<zano-asset-id>
Authorization: Bearer <accessToken>
```
The response includes the quote-bound Zano values:
* `payment.network`, `payment.contractAddress`, `payment.tokenAmount`, and `payment.tokenDecimals`.
* `receivingAddress` — the integrated destination address.
* `receivingPaymentId` — the payment ID bound to the quote.
Send the exact base-unit amount and asset to `receivingAddress` using the exact `receivingPaymentId`. Do not create, replace, normalize, or omit either destination value. The currently supported FUSD token uses four decimals, but the quote remains authoritative.
## Execute and confirm
The wallet/RPC interface is operator-specific; pass the quote fields directly to it and save the confirmed transaction ID.
```ts
const txHash = await zanoWallet.transfer({
network: quote.payment.network,
assetId: quote.payment.contractAddress,
amountAtomic: quote.payment.tokenAmount,
integratedAddress: quote.receivingAddress,
paymentId: quote.receivingPaymentId,
});
await zanoWallet.waitForConfirmation(txHash);
```
## Sign and submit
Sign the exact quote message with the Zano wallet. `publicKey` is the Zano public spend key, while `buyerAddress` remains the full sending wallet address; they are deliberately different identifiers.
```ts
const signature = await zanoWallet.signMessage(quote.signingMessage);
await partnerApi.submitTopup({
quoteId: quote.id,
receipt: {
deposit: { txHash, buyerAddress: zanoWallet.fullAddress },
},
userSignature: {
signature,
publicKey: zanoWallet.publicSpendKey,
scheme: "zano",
},
});
```
The API obtains the payment ID from the quote. Do not add a client-supplied `paymentId` to the submit receipt.
# Overview
The protocol, network, and ZBCN token behind Zebec's products.
Zebec Protocol is the on-chain layer that Zebec's payment products are built on. This section covers the protocol design and the economics of ZBCN, the network's native token.
* [White paper](/zebec-protocol/whitepaper) — protocol architecture and design goals. A revised edition is in progress.
* [Tokenomics](/zebec-protocol/tokenomics) — ZBCN supply, distribution, utility, and governance.
The canonical source for ZBCN supply, distribution, and vesting figures is [Zebec Network ZBCN tokenomics](https://zebec.io/blog/zebec-network-zbcn-tokenomics) on zebec.io.
For product guides and API references, see the Zebec Application Suite and Developer docs sections.
# White paper
The Zebec Protocol white paper. A revised edition is in progress.
{% hint style="warning" %}
**A revised white paper is in progress.**
Version 3.1 below is the most recent published edition. Parts of it predate the current network, product suite, and token model. Where the two differ, treat [Tokenomics](/zebec-protocol/tokenomics) and the [developer docs](/developer-docs/developer-docs) as current.
This page will be replaced when the new edition is released.
{% endhint %}
## Current edition
{% file src="/files/dKBNZoBhMoCPwzuRGQ15" %}
## Related
* [Tokenomics](/zebec-protocol/tokenomics) - ZBCN supply, utility, and governance.
* [Zebec Protocol overview](/zebec-protocol/zebec-protocol)
# Tokenomics
{% hint style="info" %}
The canonical source for ZBCN supply, distribution, and vesting figures is [Zebec Network ZBCN tokenomics](https://zebec.io/blog/zebec-network-zbcn-tokenomics) on zebec.io. That page is kept current. This page summarises it and covers utility and governance in more depth.
{% endhint %}
## Introduction
ZBCN is the governance and utility token of the Zebec Network. Holders of ZBCN have voting rights in the governance system and vote on critical decisions that affect the network and the ecosystem. Their influence is proportional to the amount of ZBCN they hold or control.
In addition to voting rights and influencing the priorities of Zebec business ventures, the ZBCN token unlocks a variety of benefits and incentives for holders.
## At its Core
ZBCN is not a new token. It is the next generation of the original token of the Zebec Protocol — ZBC. The transition to the ZBCN ticker represents a strategic shift, better reflecting our business’s evolution, growth in our portfolio of products and the infrastructure that powers it. And better optimized for our decentralized network, as its utilization significantly expands from supporting payment flows to also include data and physical Infrastructure (DePin).
The only difference in the new generation token is the split 1:10 to streamline the gas fee structure, at 1 ZBCN per transaction. No additional supply is minted and each ZBC in circulation is swapped for 10 ZBCN.
Once the [migration](https://medium.com/zebec-protocol/migration-guide-zbc-to-zbcn-9592fd23a590) is completed, ZBCN becomes the exclusive native token of the Zebec Network, mirroring the token distribution and vesting schedule and the foundational tokenomics established by ZBC.
## Supply, unlocks, and buybacks
Key milestones in the ZBCN supply schedule:
| Milestone | Date |
| -------------------------------------------------------------- | ------------ |
| Buyback program begins, alongside the Zebec Card program | Late 2023 |
| Staking moves into the SuperApp module | January 2026 |
| Final token unlock, four years after the original token launch | March 2026 |
| Tiered card rewards on staked balances | Mid-2026 |
Two mechanics drive supply after the final unlock:
* **Revenue-linked buybacks.** The buyback program is funded by product revenue across payroll, cards, and partner contracts, rather than by treasury emissions. Buyback volume has grown at an annualised rate of over 70% since the program started.
* **Negative net inflation.** With distribution complete, no new supply enters circulation, so buybacks contract supply faster than it expands. Zebec describes the resulting model as a fully deflationary framework.
The chart below shows the distribution and vesting schedule set at launch. For current figures, see [Zebec Network ZBCN tokenomics](https://zebec.io/blog/zebec-network-zbcn-tokenomics).
<figure><img src="https://3427593773-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYaTRWumFGJjYtG8IAVar%2Fuploads%2FIYTYjCch1hhEiJ7Z0qEd%2FScreenshot%202024-04-08%20at%209.38.16%E2%80%AFAM.png?alt=media&token=1bd6b31e-f2c2-4fd3-a44a-a780bcad7b03" alt=""><figcaption><p>ZBCN Distribution & Vesting Schedule</p></figcaption></figure>
## ZBCN Governance Model — Hybrid
The Zebec DAO operates under a hybrid governance model, merging on-chain and off-chain decision-making. This approach leverages blockchain’s transparency and immutability alongside the adaptability of traditional governance, reflecting a growing trend in the blockchain domain for a more nuanced and flexible governance structure.
ZBCN governance combines ZBCN token holders’ direct on-chain voting on proposals with extensive off-chain consultations, proposal vetting and informal consensus building across various formats, forums and social channels. This allows for a thorough exploration of proposals before they are formalized through on-chain votes. Governance[ hub](https://governance.zebec.io/#/governance).
## Governance Process
The governance process and vote works as follows:
Community members initiate ideas for proposals on Zebec’s forum and social channels, or investors and partners put forward proposals for consideration. Off-chain activities such as briefings, discussions, debates and consultations are compiled into articles and reports, shared through Zebec’s channels and community boards. Proposals, which gain significant traction or reached informal consensus after consultation with investors and ZBCN holders, proceed to a voting phase. The DAO conducts a vote on-chain, with outcomes subsequently published and announced to the broader community.
ZIPs (Zebec Improvement Proposals) are allotted a voting period of between 24 hours and 7 days, during which addresses with voting power can cast their vote for or against the proposal. If enough votes are cast to reach a quorum — set at 33% of circulation — the proposal passes on a simple majority of votes cast, and the execution phase follows.
The ZBCN governance process is transparent, inclusive and permits sufficient time for substantive evaluation, discussion and consideration.
## Utility of ZBCN
<figure><img src="https://3427593773-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYaTRWumFGJjYtG8IAVar%2Fuploads%2Fh76xntNeECr3zPWA2FYM%2Fphoto_2024-04-08%2009.48.47.jpeg?alt=media&token=05781621-ee02-40a7-a739-06d434824dc9" alt=""><figcaption></figcaption></figure>
Across Zebec products, ZBCN is used for:
* **Product fees.** Payroll and disbursement fees settle in ZBCN. Employers can hold ZBCN directly, or pay in stablecoins and have them converted automatically.
* **Staking.** Holders stake ZBCN to earn yield. Staking runs as a module inside the SuperApp.
* **SuperApp access.** Staked balances unlock enhanced features, preferential pricing, and reduced or waived fees.
* **Card rewards.** Staked balances feed tiered rewards on Zebec Card spend.
* **Collateral.** ZBCN can be used as collateral in supported DeFi integrations.
* **Governance.** Voting on ZIPs, weighted by holdings.
**ZBCN in gas and bridging fees**
As a unified and versatile token, ZBCN streamlines transactions and network interactions within our integrated RWA payments, data, and physical infrastructure (DePIN).
Fee structure of 1ZBCN per transaction supports the token’s deflationary aspect. When used as a gas fee to bridge assets into the Zebec Network, the fee is automatically distributed to validators and a portion automatically burned.
**Native collateral**
ZBCN can be used as native asset liquidity or collateral to applications built on within the Zebec ecosystem to incentivize broader adoption of the Zebec’s infrastructure. As Zebec expands its network beyond payment flows to data and physical infrastructure (DePin), especially with the anticipated launch of our Zebec Point of Service (PoS) device, the use cases for ZBCN will continue to evolve with the needs of the growing eco-system and network. Which in its turn further advances the value of the ZBCN token for holders.
## Incentives for ZBCN Holders
Beyond governance participation and influencing the priorities of Zebec business ventures, the ZBCN token unlocks a variety of benefits and incentives, including, but not limited to:
**Access to VIP, no-fee premium Zebec products**, and reduced fees for the Zebec App’s safe, treasury, and streaming features. ZBCN holders gain access to the premium Zebec Instant Card product, which offers increased spending limits, as well as priority access to the forthcoming reloadable version of the Zebec Instant Card. Moreover, higher spending limits on Zebec Instant come with automatic enrollment into Rewards programs with up to 5% ZBCN back on spending.
**Payments and fees markets:** ZBCN is integrated into our card and RWA payments infrastructure, allowing it to be used for fees on applications built on the Nautilus and within the Zebec Network. In an event of network congestion, users have the option to tip the sequencer for transaction prioritization, a benefit that extends to those delegating to the sequencer. This system aims to enhance token’s demand and value.
**Exclusive Airdrops and Incentives from partner projects** — ZBCN holders qualify for exclusive airdrops from partner projects. Zebec Card has become a vehicle to provide utility with most popular memecoins of Solana, Base and Etherium ecosystems. Zebec’s contacts to integrate these tokens into Zebec Card are structured in a way that allocates tokens for ZBCN holders.
The use cases for ZBCN token will continue to evolve with the needs of the growing eco-system and network, as Zebec continues to expand its network, especially with the anticipated launch of our Point-of-Service (PoS) device and the physical infrastructure (DePin). These developments likely to add the value of the ZBCN token for holders.
## Outlook
Zebec Network enhances its business operations, products, infrastructure and ecosystem, it continues to solidify its premium position among key fintech startups, pioneering cutting-edge payment and payroll solutions for both web2 and web3 economies. Which further advances market position, stability and value of the ZBCN token for holders.
## Related
* [Zebec Network ZBCN tokenomics](https://zebec.io/blog/zebec-network-zbcn-tokenomics) - the canonical source for supply, distribution, and vesting figures.
* [Governance hub](https://governance.zebec.io/#/governance) - view and vote on active ZIPs.
* [ZBC to ZBCN migration guide](https://medium.com/zebec-protocol/migration-guide-zbc-to-zbcn-9592fd23a590)
* [Zebec Protocol white paper](/zebec-protocol/whitepaper)
# Deprecated content
Deprecated documentation from the earlier Zebec Network protocol era.
{% hint style="warning" %}
This section contains the previous generation of Zebec documentation for archival purposes. It is **deprecated** and will soon be deleted.
For current product guides, SDK documentation, and API references, see the sections above.
{% endhint %}
The pages here are preserved for reference only. URLs, commands, token addresses, and SDK APIs may be out of date or no longer supported.
If you cannot find what you need, check [www.zebec.io](https://www.zebec.io) for the latest positioning or contact support at <support@zebec.io>.
# Getting Started
Follow the following steps to get started with The Stream.
You can follow the following steps to easily get started in The Stream.
1. Got to [https://zebec.io/](https://thestream.finance/)
2. Have Phantom Wallet installed as an extension.
3. Click on the “Get Started” button on the homepage and connect with the Phantom Wallet.
4. Enter your desired amount, recipient address, and select start and end date to start a stream.
# How to get started?
You can follow the following steps to easily get started with Zebec Pay.
You can follow the following steps to easily get started in The Stream.
1. Got to [https://zebec.io/](https://thestream.finance/)
2. Have Phantom Wallet installed as an extension.
3. Click on the “Get Started” button on the homepage and connect with the Phantom Wallet.
4. Enter your desired amount, recipient address, and select start and end date to start a stream.
Let’s understand Zebec Pay with a real example. Let’s suppose Sam wants to hire David to build a project to participate in Solana’s Ignition hackathon for 50 Sol for 40 days starting from Aug 31, 2021 to Oct 08, 2021. Sam wants to pay David per second using Zebec Protocol.
**Creating a stream payment**\
In order to create a stream payment, first and foremost Sam must have 50 Sol or more in his phantom wallet. Sam can now initialize the stream payment by entering the recipient wallet address and selecting date and time. In our case, the following are the details for creating a stream.\
\
Amount - 50 Sol
Recipient Wallet Address (David’s Wallet Address)- AD51HA9nhEemo2w1pwnQ3BioyYVUWvNNNfArYpf9UffH\
Start Date - Aug 31, 2021; 09:00\
End Date - Oct 08, 2021; 09:00
**Receiving a Stream Payment**\
For David to receive from a stream payment, he needs to simply give his wallet address to Sam and view the stream by checking “Incoming Streams” in the Dashboard.
**Pause & Resume**\
If David is not working or if there’s any conflict of interest, Sam can pause the stream payment to stop payment being streamed to David’s address and resume it again.\
\
**Cancelling a Stream Payment**\
If Sam is unhappy with David’s work or vice versa, both can cancel the stream payment whenever they want to. Let’s understand how “Cancel” works in more detail. Let's assume Sam canceled the stream payment after 31 days on Sep 30, 2021; 17:00. David will receive 39.17 Sol (31 days & 8 hours work) and the stream will end.
**Withdrawing from a Stream Payment**\
David will be able to withdraw from an ongoing stream, from a completed stream or from a cancelled stream. Let's suppose the stream is still in progress but David wants to withdraw on Sep 06, 2021; 9:00. David will be able to withdraw 8.75 Sol on Sep 06, 2021 at 9:00. Once the stream is completed, David will be able to withdraw the whole amount i.e 50 Sol. If the stream is cancelled, David will be able to withdraw the amount that has been streamed upto the cancelled date (this scenario has been explained above in “Cancelling a Stream Payment”).
# Benefits of Using Zebec Protocol
Using The Zebec Protocol for streaming payment gives you the following benefits.
Zebec Pay is redefining payroll for the 21st century. For the first time, employees can be paid instantly, by the second, without having to wait days or weeks to be paid. In addition to providing employees with immediate access to their money, Zebec Pay streams can be programmed for each employee for automatic crypto investing, DeFi yield farming and more. Using The Zebec Pay for streaming payment gives you the following benefits.
* Enables liquidity for both sender and receiver.
* Eliminates the problem of payment disputes in the gig economy.
* Increases token productivity.
* Creates trustless future in Payroll.
# Deposit
Deposit some token in your zebec wallet to g프로젝트로 돌아가기