🏗️Contract Development Environment Construction

amax.cdt 、amcli compile and Install

If it is a docker, select ubuntu18.04 for the image

1、CDT installation environment (ubuntu executable, execute step 2 for other environments first. If an error is reported, resolve it on your own) apt-get update && apt-get upgrade -y && \ DEBIAN_FRONTEND=noninteractive apt-get install -y git clang \ lldb libclang-dev cmake make automake libbz2-dev libssl-dev \ libgmp3-dev autotools-dev build-essential libicu-dev python2.7-dev \ python3-dev autoconf libtool curl zlib1g-dev doxygen graphviz

DEBIAN_FRONTEND=noninteractive brew install git clang \ lldb libclang-dev cmake make automake libbz2-dev libssl-dev \ libgmp3-dev autotools-dev build-essential libicu-dev python2.7-dev \ python3-dev autoconf libtool curl zlib1g-dev doxygen graphviz

2、Compile and Install git clone --recursive git@github.com:armoniax/amax.cdt.git cd amax.cdt git submodule update --init --recursive mkdir build cd build cmake .. make -j8 make install

3、amcli install git clone https://github.com/armoniax/amax.meta.chain.git cd amax.meta.chain ./scripts/amax_build.sh ./scripts/amax_install.sh

4、Install vscode

Note:

  1. Frequently used tokens

    amax.token: 8,AMAX

    cnyd.token: 4,CNYD

    amax.mtoken: 8,MBTC. 8,METH 6,MUSDT

    aplink.token: 4,APL

Last updated