Ola Developer Documents
  • Introduction
    • What is Ola
    • Advanced Features
    • Roadmap & Release Notes
  • Quick Start
    • Setup Environment
    • Setting up an Account
    • Deploying a Smart Contract
    • Interacting with a Smart Contract
    • Running smart contract locally
  • Ola Language
  • OlaVM
    • Concepts
      • Accounts
      • Contracts
      • Notes
      • Transaction
      • Transition
      • Blocks
    • OlaVM Architecture
      • VM
      • Circuits
    • GPU acceleration
  • OlaOS
    • Installation Guide
    • Run an OlaOS Node
    • Command Line Interface
    • OlaOS Architecture
    • System Contracts
  • API/SDK
    • APIs
    • Javascript SDK
  • Developer Tools and Resources
Powered by GitBook
On this page
  • Prerequisites
  • Deploying a smart contract
  1. Quick Start

Deploying a Smart Contract

PreviousSetting up an AccountNextInteracting with a Smart Contract

Last updated 1 year ago

Prerequisites

Ensure Olatte is installed correctly:

olatte --version

If this command fails, see

Deploying a smart contract

You can write Ola smart contracts using and compile them with olatte, Taking the contract as an example:

olatte compile path/to/vote_simple.ola path/of/output/dir

This command will generate a bin file and an abi file; the bin file is used for the deployment of the contract:

olatte deploy --network pre-alpha path/to/MyContract_bin.json
Setting up your environment.
Ola-lang
vote_simple.ola