GIRRONA BLOCKCHAIN
  • Introducing Girrona Blockchain
    • How does Girrona work?
  • Concept Of Girrona
    • Intro. to Dapps
    • ACCOUNTS & Keys
    • Hash Types
    • Deploys and the Deploy Lifecycle
    • Global State
    • Smart Contracts
    • Call Stacks
    • Contracts and Session Code
  • DESIGN
    • Overview
    • Network Design
    • Network Communication
    • Highway Consensus
    • Reading and Writing Data
  • Economics
    • Overview of Girrona Economics
    • Consensus Economics
    • Runtime Economic
    • Gas & Resources
  • Staking
    • Staking Concept
    • Staking vs Delegating
    • Delegation Details
  • TOKENOMICS
    • Girrona Tokenomics
    • Road Map
  • GIRRONA LIQUIDITY LOCKER
    • Introducing Girrona Liquidity Locker
  • ABOUT US
    • COMMUNITY
Powered by GitBook
On this page
  • Delegation Cost​
  • First-time Delegation​
  1. Staking

Delegation Details

PreviousStaking vs DelegatingNextGirrona Tokenomics

Last updated 1 year ago

This section provides a detailed explanation of the delegation cost mechanism, how the gas cost relates with delegations, where to find the details etc. Please note that the cost amounts are likely to change with time and you may have to check the latest release details to get the most up-to-date and accurate details.

Delegation Cost

The delegation cost is defined in the chainspec.toml file for each Girrona network. In this example chainspec, the delegation is set to cost 2.5 GIRRO. However, when you perform the delegation, you see that it costs a little more than what is specified in the chainspec. Let’s discuss why this happens.

When you delegate, the system automatically charges some gas to set up related data in the global state of the network to track your delegation. This cost is addition to the delegation cost defined in the chainspec file.

For example, the chainspec file in release 1.3.2 will contain the following information. This is how the delegation cost is defined in the chainspec.toml file of a Girrona network.

cost

Figure 1: Delegation cost is defined in the chainspec.toml file of a Girrona network

Delegation fees may change over time, so, it is essential to stay up to date. To do so, select the latest release in Github, and navigate to the chainspec.toml file.

If you are unsure about anything, please join the Telegram to ask us questions.

If you perform the delegation for the first time, the system charges some gas to create a purse to hold the delegated tokens.

Example: The system can charge 0.5 GIRRO in addition to the base delegation fee of 2.5 GIRRO, resulting in a delegation cost of 3 GIRRO on Mainnet

It is essential to have enough funds in your account's main purse when you set up a delegation transaction. Otherwise, the transaction will fail, and you will lose the transfer cost. For example, if you have 200 GIRRO in your purse, delegate at most 197 GIRRO and leave at least 3 GIRRO for the delegation cost. Another option is to delegate 195 GIRRO and leave some additional buffer.

As a result, when performing a delegation using the command line, we recommend you specify a little more than the base transaction payment to ensure that the transaction will go through without failure.

Figure 2 : On Testnet or Mainnet, the transaction fee for a delegation is a little bit higher than 2.5 GIRRO


NOTE:

Transaction costs depend on each Girrona network and the cost tables defined in the chainspec. The examples you will find in the documentation are general.


Lastly, we recommend that you try out delegations on the Girrona Testnet before making actual transactions on the Girrona Mainnet. This way, you will understand the costs involved in delegating tokens.

First-time Delegation

​
​