Skip to content

Runs

When creating an attestation from a recipe, that is called a "run". You run the recipe to create the attestation.

All attestations created by C-ATTS are created by the smart contract canister, running on the Internet Computer (ICP). Since EAS is an open platform, that means anyone can create an attestation using the same schemas as the ones used by C-ATTS. To verify an attestation have been created by C-ATTS, you can check the from/attester field of the attestation to make sure it matches the C-ATTS canister ETH address.

C–ATTS canister address: 0x838a9bEBa747EB7FA26406707D707Eff01337848

C–ATTS uses the same ETH address on all supported chains.

Run details

In addition to the from field, C–ATTS saves som additional metadata for each run and makes that information available in the C–ATTS Explorer. This metadata includes:

The payment transaction id, gas fees paid, the attestation transaction id, and the attestation uid, etc.

Run fees

In addition to paying for ETH gas fees, the C–ATTS engine needs to pay for compute and the data it fetches from external sources. On the Internet Computer, the cost of compute and data is called cycles.

The cost of running a recipe is based on the number of queries it makes, using this formula:

gas_fee = gas * (base_fee_per_gas + max_priority_fee_per_gas)
gas_fee = gas_fee.max(min_gas_fee)
user_fee = gas_fee + cycles_fee
  • base_fee_per_gas and max_priority_fee_per_gas are the base and priority fees used by the Ethereum network. These are set by the network and can vary.
  • gas is the amount of gas used by the attestation transaction. More complex attestations require more gas.
  • min_gas_fee is the minimum gas fee charged by the C–ATTS engine. This is set to 0.00005 ETH.
  • cycles_fee is the cost of compute and data on the Internet Computer. This is currently set to 0.00005 ETH per recipe query.
  • user_fee is the total fee paid by the user. This includes the gas fee and the cycles fee.

The above formula can in many cases be interpreted like this:

A recipe doing only one query and creating no overly complex attestation will cost 0.0001 ETH.

The user fee is paid in ETH by the user before the attestation is created. The above formula can be adjusted in the future to reflect changes in the cost of compute and data on the Internet Computer.