Switch text from tokens to LP to avoid confusion

This commit is contained in:
ghe0 2025-01-28 18:16:44 +02:00
parent fc47853f61
commit e75f7baedc
Signed by: ghe0
GPG Key ID: 451028EE56A0FBB4
8 changed files with 21 additions and 20 deletions

@ -14,7 +14,7 @@
- [DeTEE Cloud](./cloud/README.md) - [DeTEE Cloud](./cloud/README.md)
- [Components](./cloud/components.md) - [Components](./cloud/components.md)
- [Token system](./cloud/tokens.md) - [Loyalty Points](./cloud/points.md)
- [Join as a User](./cloud/join_as_user.md) - [Join as a User](./cloud/join_as_user.md)
- [Getting Access](./cloud/access.md) - [Getting Access](./cloud/access.md)
- [CLI](./cloud/cli.md) - [CLI](./cloud/cli.md)

@ -1,6 +1,6 @@
# Getting Access # Getting Access
In order to test our cloud, you will first need an airdrop of testnet tokens. Here are a few ways to qualify for airdrops: In order to test our cloud, you will first need an airdrop of testnet Loyalty Points (LP). Here are a few ways to qualify for airdrops:
- Join our [Discord Server](https://discord.gg/zrK56XMe) - Join our [Discord Server](https://discord.gg/zrK56XMe)
- Follow [DeTEE on Twitter](https://x.com/detee_network) - Follow [DeTEE on Twitter](https://x.com/detee_network)
- Follow [DeTEE on Instagram](https://www.instagram.com/detee_network/) - Follow [DeTEE on Instagram](https://www.instagram.com/detee_network/)
@ -13,7 +13,7 @@ In order to test our cloud, you will first need an airdrop of testnet tokens. He
- Report bugs - Report bugs
- Help us improve documentation - Help us improve documentation
Please be aware that the airdrops are awarded based on the activity, meaning being more involved will allow you to get more tokens, which will grant you access to more testnet resources. Please be aware that the airdrops are awarded based on the activity, meaning being more involved will allow you to get more LP, which will grant you access to more testnet resources.
To collect the airdrops after performing the activities above, write to us on Discord in the [📦claim-airdrops](https://discord.gg/zmR3Bzxz) channel. Summarize your activity with links (for example, links to social media posts you made about DeTEE). To collect the airdrops after performing the activities above, write to us on Discord in the [📦claim-airdrops](https://discord.gg/zmR3Bzxz) channel. Summarize your activity with links (for example, links to social media posts you made about DeTEE).

@ -33,8 +33,8 @@ Config path: /home/ghe0/.detee/cli/cli-config.yaml
The brain URL is: http://detee-build-1:31337 The brain URL is: http://detee-build-1:31337
SSH Key Path: /home/ghe0/.ssh/id_ed25519.pub SSH Key Path: /home/ghe0/.ssh/id_ed25519.pub
DeTEE wallet key: x52w7jARC5erhWWK65VZmjdGXzBK6ZDgfv1A283d8XK DeTEE wallet key: x52w7jARC5erhWWK65VZmjdGXzBK6ZDgfv1A283d8XK
Account Balance: 980.16022 DeTEE Tokens available, 0 Tokens locked Account Balance: 980.16022 LP available, 0 LP locked
SNP admin secret key path: /home/ghe0/.detee/cli/secret_detee_wallet_key LP secret key path: /home/ghe0/.detee/cli/secret_detee_wallet_key
``` ```
And give it to us on Discord so that we can give you your airdrop (assuming you have followed [the tutorial](./access.md)). And give it to us on Discord so that we can give you your airdrop (assuming you have followed [the tutorial](./access.md)).
@ -61,7 +61,7 @@ Deploying a VM looks like this:
``` ```
~ $ detee-cli vm deploy --distro ubuntu --vcpus 4 --memory 4096 --disk 20 --hours 4 ~ $ detee-cli vm deploy --distro ubuntu --vcpus 4 --memory 4096 --disk 20 --hours 4
No hostname specified! Using random VM name: luminous-soap No hostname specified! Using random VM name: luminous-soap
Node price: 0.00002/unit/minute. Total Units for hardware requested: 216. Locking 1.0368 tokens (offering the VM for 4 hours). Node price: 0.00002/unit/minute. Total Units for hardware requested: 216. Locking 1.0368 LP (offering the VM for 4 hours).
Injecting disk encryption key into VM. This will take a minute. Do not interrupt. Injecting disk encryption key into VM. This will take a minute. Do not interrupt.
VM CREATED! To ssh, run the following command: VM CREATED! To ssh, run the following command:
ssh -p 44367 root@173.234.17.2 ssh -p 44367 root@173.234.17.2
@ -89,7 +89,7 @@ root@luminous-soap:~#
### Update or delete VM ### Update or delete VM
The update command will allow you to modify the hardware specification and also the number of hours that you want your VM to run. If both hardware and time are modified, the hardware modification is executed first and the tokens are recalculated after that. The update command will allow you to modify the hardware specification and also the number of hours that you want your VM to run. If both hardware and time are modified, the hardware modification is executed first and the LP are recalculated after that.
``` ```
~ $ detee-cli vm update --vcpus 2 --memory 2000 --hours 10 d51de633-640f-4b19-b372-b4197b321c8d ~ $ detee-cli vm update --vcpus 2 --memory 2000 --hours 10 d51de633-640f-4b19-b372-b4197b321c8d

@ -8,6 +8,7 @@ DeTEE is built of multiple components that are already under development, as fol
- [ ] allows users to vote for the upgrades of the platform - [ ] allows users to vote for the upgrades of the platform
- [x] stores ratings for users and servers - [x] stores ratings for users and servers
- [ ] allows you to deposit and withdraw DeTEE tokens via different blockchains - [ ] allows you to deposit and withdraw DeTEE tokens via different blockchains
- during the testnet phase, Loyalty Points (LP) will be used instead of DeTEE Tokens
- **(Intel) SGX Daemon**: Software that powers the SGX node, allowing customers to run containers - **(Intel) SGX Daemon**: Software that powers the SGX node, allowing customers to run containers
- [x] allows you to run containers based on [occlum](https://github.com/occlum/occlum) - [x] allows you to run containers based on [occlum](https://github.com/occlum/occlum)

@ -9,6 +9,6 @@ Please be aware this product has been designed for:
Having basic understanding of operating systems, containers, virtual machines and deployment of software is required in order to use the CLI. The product was heavily inspired from existing open source cloud apps (Docker, Kubernetes, Proxmox, OpenStack). Having basic understanding of operating systems, containers, virtual machines and deployment of software is required in order to use the CLI. The product was heavily inspired from existing open source cloud apps (Docker, Kubernetes, Proxmox, OpenStack).
As we are currently entering the testnet phase, you will first have to get some tokens in order to be able to test the app. Details on how to get access can be found in the next chapter. As we are currently entering the testnet phase, you will first have to get some LP in order to be able to test the app. Details on how to get access can be found in the next chapter.
<script type="text/javascript" id="hcb" src="/js/comments.js"></script><div id="HCB_comment_box"></div><link rel="stylesheet" type="text/css" href="/css/comments.css"/> <script type="text/javascript" id="hcb" src="/js/comments.js"></script><div id="HCB_comment_box"></div><link rel="stylesheet" type="text/css" href="/css/comments.css"/>

@ -1,8 +1,8 @@
# Token system # Loyalty poins
> Considering how young this project is, everything on this page will probably change in the future. > During the testnet phase, users of the DeTEE network will be able to run containers and VMs through the exchange of Loyalty Points (LP). Considering how young this project is, the calculations and rates of LP/resource will probably change. With time, this model will evolve into the DeTEE token, after the token gets released.
The token payment and reward mechanism of DeTEE is based on the core concepts of the open market and the requirements of creating a TEE-based decentralized cloud platform: The LP payment and reward mechanism of DeTEE is based on the core concepts of the open market and the requirements of creating a TEE-based decentralized cloud platform:
- nodes are free to choose their price - nodes are free to choose their price
- users are free to choose nodes based on their rating and price - users are free to choose nodes based on their rating and price
- nodes are free to refuse contracts (or users) - nodes are free to refuse contracts (or users)
@ -13,7 +13,7 @@ The token payment and reward mechanism of DeTEE is based on the core concepts of
One of the first conclusions after analyzing the requirements above is that designing a mechanism was that implementing payment for resource utilization is exceptionally hard. As a consequence, DeTEE currently supports only payment for resource reservation, and different models will be considered as the project grows. This means that the user will pay for the resources he reserves, not for the resources he uses. For example, if a user reserves a VM with 4 vCPUs and 5GB of memory, however the load on the VM is minimal, the user will still pay for 4 vCPUs and 5 GBs of memory. To compensate for this, automation and orchestration tools will be offered to users. One of the first conclusions after analyzing the requirements above is that designing a mechanism was that implementing payment for resource utilization is exceptionally hard. As a consequence, DeTEE currently supports only payment for resource reservation, and different models will be considered as the project grows. This means that the user will pay for the resources he reserves, not for the resources he uses. For example, if a user reserves a VM with 4 vCPUs and 5GB of memory, however the load on the VM is minimal, the user will still pay for 4 vCPUs and 5 GBs of memory. To compensate for this, automation and orchestration tools will be offered to users.
Though nodes get paid for resource reservation, during the testnet nodes will also receive additional bonus tokens for participating. This means that all nodes will receive by a baseline of tokens per month in the testnet, no matter if they sell or not. Though nodes get paid for resource reservation, during the testnet nodes will also receive additional bonus LP for participating. This means that all nodes will receive by a baseline of LP per month in the testnet, no matter if they sell or not.
## Resource calculation ## Resource calculation
@ -21,7 +21,7 @@ Before calculating the price per month for a VM or a container, we must define t
Based on our experience when using cloud services, we decided that the price of a resource will be calculated based on the number of minutes the resource is being used. Based on our experience when using cloud services, we decided that the price of a resource will be calculated based on the number of minutes the resource is being used.
A server is also free to choose the price per unit per minute for his service. This price is defined in nanotokens (one nanotoken is 0.000000001 tokens). The current recommended value is 20k nanotokens per unit per minute. With the current calculation, a VM with 1 vCPU, 1 GB of memory, 20 GB of storage and one public IP will cost 24.4 tokens per month. A server is also free to choose the price per unit per minute for his service. This price is defined in nanoLP (one nanoLP is 0.000000001 LP). The current recommended value is 20k nanoLP per unit per minute. With the current calculation, a VM with 1 vCPU, 1 GB of memory, 20 GB of storage and one public IP will cost 24.4 LP per month.
### Units ### Units
@ -43,9 +43,9 @@ total_units = (vcpus * 10) + ((memory_mb + 256) / 200) + (disk_gb / 10) + (publi
## Price and time ## Price and time
> This page is exposiong a model that strictly applies to testnet tokens that have no value. When the public token is launched, the token price will fluctuate independently, which will make any recommendation irrelevant for operators or users. > This page is exposiong a model that strictly applies to testnet LP that has no value. When the public token is launched, the token price will fluctuate independently, which will make any recommendation irrelevant to operators or users.
The node is free to choose the price for its services, expressed in nanotokens per unit. The recommended value is 20k. Please find below calculations for a price of 10k, 20k and 40k nanotokens per unit per minute. The node is free to choose the price for its services, expressed in nanoLP per unit. The recommended value is 20k. Please find below calculations for a price of 10k, 20k and 40k nanoLP per unit per minute.
For this example, let's take into consideration 3 types of VMs: For this example, let's take into consideration 3 types of VMs:
- a mini VM: 1 vCPUs, 1 GBs of memory and 10GBs of storage - a mini VM: 1 vCPUs, 1 GBs of memory and 10GBs of storage
@ -54,7 +54,7 @@ For this example, let's take into consideration 3 types of VMs:
For the calculation, all VMs have a dedicated public IPv4 address. For the calculation, all VMs have a dedicated public IPv4 address.
In this table you can see the rounded price in tokens per month for the these VM types: In this table you can see the rounded price in LP per month for the these VM types:
| node price | mini VM | med vm | big VM | | node price | mini VM | med vm | big VM |
| ------------------ | --------- | ---------- | --------- | | ------------------ | --------- | ---------- | --------- |
@ -62,12 +62,12 @@ In this table you can see the rounded price in tokens per month for the these VM
| 20k nanoT/unit/min | ~24 T/mo | ~105 T/mo | ~320 T/mo | | 20k nanoT/unit/min | ~24 T/mo | ~105 T/mo | ~320 T/mo |
| 40k nanoT/unit/min | ~47 T/mo | ~210 T/mo | ~641 T/mo | | 40k nanoT/unit/min | ~47 T/mo | ~210 T/mo | ~641 T/mo |
Full calculation of price per month for one mini VM at a node price of 20k nanotokens: Full calculation of price per month for one mini VM at a node price of 20k nanoLP:
``` ```
((1 * 10) + (1256 / 200) + (10 / 10) + 10) * 20000 * 60 * 24 * 30 / 1_000_000_000 = ((1 * 10) + (1256 / 200) + (10 / 10) + 10) * 20000 * 60 * 24 * 30 / 1_000_000_000 =
23.56992 23.56992
``` ```
As a result, a node selling 31 mini VMs for one month at a default price of 20k/unit/min will earn 730 tokens. As a result, a node selling 31 mini VMs for one month at a default price of 20k/unit/min will earn 730 LP.
<script type="text/javascript" id="hcb" src="/js/comments.js"></script><div id="HCB_comment_box"></div><link rel="stylesheet" type="text/css" href="/css/comments.css"/> <script type="text/javascript" id="hcb" src="/js/comments.js"></script><div id="HCB_comment_box"></div><link rel="stylesheet" type="text/css" href="/css/comments.css"/>

@ -83,7 +83,7 @@ detee-cli account register-node 7Xw3RxbP5pvfjZ8U6yA3HHVSS9YXjKH5Vkas3JRbQYd9
You should be set. You should be set.
## Easy way to get free tokens ## Easy way to get free LP
- tell your friends about DeTEE - tell your friends about DeTEE
- convince them to write about us on social media so that they get an airdrop - convince them to write about us on social media so that they get an airdrop

@ -7,7 +7,7 @@ Please be aware that this is a cloud product oriented for businesses, which has
- Nodes must have a public IP. SNP nodes can optionally offer dedicated private IPs for VMs. - Nodes must have a public IP. SNP nodes can optionally offer dedicated private IPs for VMs.
- In production, node operators will be encouraged to offer escrow as a guarantee for users. - In production, node operators will be encouraged to offer escrow as a guarantee for users.
Earning tokens by running a node on DeTEE is as easy as setting up a server. Assuming you have experience with running Linux servers, the process is not difficult. Earning [LP](../cloud/points.md) by running a node on DeTEE is as easy as setting up a server. Assuming you have experience with running Linux servers, the process is not difficult.
If you would like to participate, we currently suggest renting dedicated bare metal servers. A minimal SGX server will be a few times cheaper than a minimal SNP server. In the future, if you are planning to make a profit on DeTEE, we suggest buying servers, as this will probably allow you to offer hardware resources a few times cheaper than established cloud providers. If you would like to participate, we currently suggest renting dedicated bare metal servers. A minimal SGX server will be a few times cheaper than a minimal SNP server. In the future, if you are planning to make a profit on DeTEE, we suggest buying servers, as this will probably allow you to offer hardware resources a few times cheaper than established cloud providers.