AKB Wiki
  • AstraKode Wiki
    • Getting Started
    • Network Composer
      • Technologies
        • Hyperledger Fabric
      • Components
        • Certificate Authority
        • Channel
        • Consortium
        • Orderer
        • Ordering Service
        • Organization
        • Peer
    • Smart Contract IDE
      • Technologies
        • Ethereum
          • Components
            • Contracts
            • Data Entities
            • Elements
            • Events
            • Functions
            • Imports
            • Mapping
            • Modifiers
            • Natural Language Metadata
            • Operations
        • Hyperledger Fabric
          • Components
            • Asset Definition
            • Contracts
            • Data Entities
            • Elements
            • Functions
            • Operations
    • FAQs
    • Video Demos
    • Support
  • Release Notes
  • Contacts
Powered by GitBook
On this page
  • Introduction
  • Configuration
  1. AstraKode Wiki
  2. Smart Contract IDE
  3. Technologies
  4. Ethereum
  5. Components

Contracts

PreviousComponentsNextData Entities

Last updated 11 months ago

Introduction

In each project, you can define multiple smart contracts. These contracts often work together and may depend on each other. For example, they might need to be deployed simultaneously or import functions from one another. By creating interconnected contracts, you can build more complex and powerful applications.

Configuration

Give your contract a specific and descriptive name to clearly indicate its purpose and distinguish it from others. The name will be used as a keyword in the code, so choose something that makes the contract's function easy to infer.

An Abstract Contract includes at least one function without implementation, serving as a base for other contracts. It typically contains both implemented and abstract functions. Derived contracts will provide implementations for the abstract functions while utilizing the existing ones as needed.

Select a Constructor for this contract among the defined functions. A constructor is a function that is invoked only once when the contract is deployed.

The property allows the addition of Natural Language (text) Metadata to a Contract in order to better describe it.

NsMetaData