Core Concepts

Accounts, Wallets and Permissions

Accounts

An account is a human-readable name that is stored on the blockchain. It can be owned through authorization by an individual or group of individuals depending on permissions configuration. An account is required to transfer or push any valid transaction to the blockchain.

Wallets

Wallets are clients that store keys that may or may not be associated with the permissions of one or more accounts. Ideally, a wallet has a locked (encrypted) and unlocked (decrypted) state that is protected by a high entropy password. The InfraBlockchain/InfraBlockchain repository comes bundled with a CLI client called infra-cli that interfaces with a lite-client called infra-keychain and together, they demonstrate this pattern.

Authorization and Permissions

Permissions are arbitrary names used to define the requirements for a transaction sent on behalf of that permission. Permissions can be assigned for authority over specific contract actions by linking authorization or linkauth.

For more information about these concepts, see the Accounts and Permissions documentation.

Smart Contracts

A smart contract is a piece of code that can execute on a blockchain and keep the state of contract execution as a part of the immutable history of that blockchain instance. Therefore, developers can rely on that blockchain as a trusted computation environment in which inputs, execution, and the results of a smart contract are independent and free of external influence.

Proof-of-Transaction (PoT)

The InfraBlockchain-Antelope platform implements a proven decentralized consensus algorithm capable of meeting the performance requirements of applications on the blockchain called the Proof-of-Transaction (PoT). Under this algorithm, if you push transaction on a InfraBlockchain-Antelope, you can select block producers through a continuous approval voting system. Anyone can choose to participate in the block production and will be given an opportunity to produce blocks, provided they can persuade token holders to vote for them.

System Resources

RAM

RAM, for the InfraBlockchain-Antelope network is one of the important system resources consumed by blockchain accounts and smart contracts. RAM acts as a permanent storage and is used to store account names, permissions, token balance and other data for speedy on-chain data access. RAM needs to be purchased and is not based on staking as it is a limited persistent resource.

More details about RAM as a system resource can be found here.

CPU

CPU, for the InfraBlockchain-Antelope network, represents the processing time of an action and is measured in microseconds (μs). CPU is referred to as cpu bandwidth in the infra-cli get account command output and indicates the amount of processing time an account has at its disposal when pushing actions to a contract. CPU is a transient system resource and falls under the staking mechanism of Antelope.

More details about CPU as a system resource can be found here.

Network (NET)

Besides CPU and RAM, NET is also a very important resource for the InfraBlockchain-Antelope network. NET is the network bandwidth, measured in bytes, of transactions and is referred to as net bandwidth on the infra-cli get account command. NET is a also a transient system resource and falls under the staking mechanism of Antelope.

More details about NET as a system resource can be found here.

Last updated