🔬
InfraBlockchain-Antelope
  • Introduction To InfraBlockchain-Antelope
    • What is InfraBlockchain-Antelope?
    • Resources and Essentials
    • Products and Supports
  • Users
    • Accounts and Wallets
  • Block Producers
    • Getting started with InfraBlockchain-Antelope Block Producers
      • What is InfraBlockchain-Antelope Block Producer node
      • Types of nodes
      • InfraBlockchain-Antelope Block Producer Requirements
      • Setting up InfraBlockchain-Antelope Block Producer node
    • InfraBlockchain-Antelope Network Resources
  • For Developers
    • Getting started for developers
    • Overview
      • Core Concepts
      • Technical Features
      • Protocol
        • Consensus Protocol
        • Transactions Protocol
        • Network Peer Protocol
        • Accounts & Permissions
    • Developer guides: InfraBlockchain-Antelope Native
      • Platform & Toolchain
      • Development Environment InfraBlockchain-Antelope Native
        • Try InfraBlockchain-Antelope
        • Prerequisites
        • Before You Begin
        • Install the Contract Dev Toolkit
        • Create Development Wallet
        • Start infra-keychain and infra-node
        • Create Test Accounts
      • Smart Contract Development
        • Hello World Contract
        • Deploy, Issue & Transfer Tokens
        • Understanding ABI Files
        • Data Persistence
        • Secondary Indices
        • Adding Inline Actions
        • Inline Actions to External Contracts
        • Creating & Linking Custom Permissions
        • Payable Actions
      • InfraBlockchain-Antelope System Contracts
        • infra.system
          • authproducer
          • addsystoken
          • rmvsystoken
          • settxfee
          • unsettxfee
        • sys.tokenabi
          • settokenmeta
          • issue
          • transfer
          • txfee
          • retire
      • Tutorials
        • infra-cli
        • infrablockchain-js
        • Hello World Contract
    • Developer guides: InfraBlockchain EVM
Powered by GitBook
On this page
  • Homebrew (Mac OS X)
  • Install
  • Uninstall
  • Ubuntu (Debian)
  • Install
  • Uninstall
  • CentOS/Redhat (RPM)
  • Install
  • Uninstall
  • Install from Source
  • Download
  • Build
  • Troubleshooting
  • What's Next?
  1. For Developers
  2. Developer guides: InfraBlockchain-Antelope Native
  3. Development Environment InfraBlockchain-Antelope Native

Install the Contract Dev Toolkit

Homebrew (Mac OS X)

brew install is not working now

Install

brew tap infrablockchain/infrablockchain.cdt
brew install infrablockchain.cdt

Uninstall

brew remove infrablockchain.cdt

Ubuntu (Debian)

Binary is not ready

Install

wget https://github.com/AntelopeIO/cdt/releases/download/v4.0.0/cdt_4.0.0_amd64.deb

sudo apt install ./cdt_4.0.0_amd64.deb

Uninstall

sudo apt remove cdt

CentOS/Redhat (RPM)

Binary is not ready

Install

wget https://github.com/AntelopeIO/cdt/releases/download/v4.0.0/cdt_4.0.0_amd64.rpm

sudo apt install ./cdt_4.0.0_amd64.rpm

Uninstall

$ sudo yum remove cdt

Install from Source

The location where infrablockchain.cdt is cloned is not that important because you will be installing infrablockchain.cdt as a local binary in later steps. For now, you can clone infrablockchain.cdt to your "contracts" directory previously created, or really anywhere else on your local system you see fit.

cd CONTRACTS_DIR

Download

Clone infrablockchain.cdt repository.

git clone --recursive https://github.com/InfraBlockchain/infrablockchain.cdt
cd infrablockchain.cdt

In case you are using a virtual machine. It should be configured with at least 2 CPUs (does not have to be two physical ones) and 8G of memory to avoid compilation errors

Build

./build.sh

Install

sudo ./install.sh

The above command needs to be ran with sudo because infrablockchain.cdt's various binaries will be installed locally. You will be asked for your computer's account password.

Installing infrablockchain.cdt will make the compiled binary global so it can be accessable anywhere. For this tutorial, it is strongly suggested that you do not skip the install step for Infrablockchain.cdt, failing to install will make it more difficult to follow this and other tutorials, and make usage in general more difficult.

Troubleshooting

WIP

What's Next?

PreviousBefore You BeginNextCreate Development Wallet

Last updated 1 year ago

: Steps to create a new development wallet used to store public-private key pair.

Create Development Wallet