Vexanium Docs
  • Welcome!
  • Overview
    • Vexanium Toolchain
    • Core Concepts
    • Technical Features
  • Getting Started
    • Development Environment
      • Prerequisites
      • Before You Begin
      • Install VEX.CDT
      • Create Development Wallet
      • Start keosd and nodeos
      • Create Development Accounts
    • Smart Contract Development
      • Hello World Contract
      • Deploy, Issue and Transfer Tokens
      • Understanding ABI Files
      • Data Persistence
      • Secondary Indices
      • Adding Inline Actions
      • Inline Actions to External Contracts
      • Payable actions
      • Creating and Linking Custom Permissions
  • Vexanium Protocol
    • Consensus Protocol
    • Transaction Protocol
    • Network Peer Protocol
    • Accounts and Permissions
  • Vexanium DAO - Governance
    • DPOS Governance
    • Active Block Producers
  • Reference
    • API Reference
      • API V2 Migrations
    • Smart Contract
      • C++ Smart Contract
        • Hello World Contract
        • Simple Token Farming Contract
        • Employee Attendance Contract
      • Solidity ( EVM )
        • Setup Metamask
        • To Do List Contract
  • Resources
Powered by GitBook
On this page
  1. Reference

Smart Contract

PreviousAPI V2 MigrationsNextC++ Smart Contract

Last updated 1 year ago

What is a Smart Contract ?

A smart contract is a self-executing contract with the terms of the agreement directly written into lines of code. It operates on a blockchain platform, which is typically decentralized and distributed across a network of computers. The code and the data of the smart contract are stored on the blockchain, making the contract transparent, immutable, and tamper-resistant.

Some key features of smart contracts include:

  1. Autonomy: Once deployed, a smart contract operates autonomously, meaning it executes automatically based on the input it receives and the conditions it contains.

  2. Trust: The transparency and immutability of blockchain technology inspire trust, as all parties can verify the contract's code and its execution on the blockchain.

  3. Security: Smart contracts are protected by the underlying blockchain's consensus mechanism, making them highly secure and resistant to hacking or unauthorized modifications.

  4. Cost and Efficiency: By eliminating intermediaries, smart contracts can streamline processes and reduce costs associated with traditional contract execution.

C++ Smartcontract and Solidity Contract on Vexanium

There are two smart contract programming languange that run on Vexanium Blockchain ,1st is C++ ( Vexanium Native smartcontract )and Solidity ( solidity contract will activated on Vexanium version 2 in late 2023 , These are example of smart contract that you can try to understand the codes, deploy the smart contract, and do the push actions with it.

C++ Smart Contract
Solidity ( EVM )