Search…
ICON2
What is ICON?
Getting Started
How to run a local network
How to run a Validator node
How to run an API Endpoint
How to create an ICON account
How to write a smart contract
How to use the JSON-RPC API
Concepts
Economics
Governance
Network
Computational utilities
Accounts
Transactions
Blocks
Consensus mechanism
Goloop
Setup
CLI
Maintenance API
Maintenance metrics API
ICON Stack
Intro to the stack
ICON execution environments
Smart contracts
ICON networks
Client APIs
Storage
IDEs
Projects
BTP & ICON Bridge
Decentralized applications (dApps)
ICON Improvement Proposals (IIPs)
Support
Support
Security
Advanced topics
Release notes
2022-04-11
2021-12-23
2021-12-20
2021-12-10
2021-12-07
2021-10-22
2021-10-12
2021-03-20
2021-03-04
2021-02-17
2020-09-03
2020-08-27
2020-08-23
2020-08-10
2020-04-08
2020-01-28
2019-12-19
Powered By
GitBook
Setup
Prerequisites
You need to install OpenJDK 11 version. Visit
OpenJDK.net
for prebuilt binaries. Or you can install a proper OpenJDK package from your OS vendors.
In macOS:
1
$ brew tap AdoptOpenJDK/openjdk
2
$ brew install --cask adoptopenjdk11
Copied!
In Linux (Ubuntu 20.04):
1
$ sudo apt install openjdk-11-jdk
Copied!
Download and Install Go
In macOS:
1
$ brew install go
Copied!
In Linux (Ubuntu 20.04):
1
$ wget -c https://go.dev/dl/go1.16.15.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local
2
$ export PATH=$PATH:/usr/local/go/bin
Copied!
Verify installation
1
$ go version
Copied!
Step 1. Build goloop CLI
You need to checkout the "goloop" repository for building the
goloop
CLI.
1
$ git clone
[email protected]
:icon-project/goloop.git
2
$ GOLOOP_ROOT=/path/to/goloop
Copied!
Then build the
goloop
CLI binary.
1
$ cd ${GOLOOP_ROOT}
2
$ GOBUILD_TAGS= make goloop
Copied!
Make sure the binary builds successfully.
1
$ ./bin/goloop version
2
goloop version v1.2.3-7-g78f7f438 linux/amd64 tags()-2022-03-21-14:09:46
Copied!
Previous
Goloop
Next
CLI
Last modified
27d ago
Copy link
Contents
Prerequisites
Step 1. Build goloop CLI