Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


EOS Mainnet Local Network


EOS Local provides a quick way to setup an EOS local network for development.

The primary benefits of containers are consistency across different environments and deployment ease.

This project works along with a full-stack-boilerplate to help you build your EOS dApp.

Why to use a local environment?

Having a local environment provides a series of benefits that you cannot in a public network, for example, with EOS Mainnet locally, transaction costs are avoided since they are carried out in a development environment and not in production, also, they are accessed to system contracts to modify them as appropriate.

In a Blockchain network every transaction creates an immutable record and everything that is modified can affect both positively and negatively the users within it, it is for this reason that it is essential to have an environment premises where functionality tests, performance tests, stress tests, among others, can be carried out without the risk of producing a failure that affects users.

Finally, a factor to consider is the time that is reduced in the initial configuration of any network, this image allows directly, with only two commands to have the network installed and ready to perform functionality tests as necessary.


The EOSIO image is based on the eosio.system, eosio.token and eosio.msig contracts for its configuration. Your code can be found at this link.

  1. eosio.system: Defines the structures and actions needed for blockchain's core functionality.
  2. eosio.token: Defines the structures and actions that allow users to create, issue, and manage tokens for EOSIO-based blockchains.
  3. eosio.msig: Allows the creation of proposed transactions that require authorization from a list of accounts.

Deployable projects

As EOS Mainnet Local Network is based on EOSIO protocol, some already smart contract production projects can be deployed on our local network due to the local dev environment setup. Some of them are:

  1. Eden: Take a look at the smart contract code here.
  2. simpleassets: A simple standard for digital assets on EOSIO blockchains: Non-Fungible Tokens (NFTs), Fungible Tokens (FTs), and Non-Transferable Tokens (NTTs). Take a look at the smart contract code here.
  3. atomicassets: AtomicAssets is a Non Fungible Token (NFT) standard for eosio blockchains developed by Take a look at the smart contract code here.
  4. dgoods: dGoods is an open source and free standard for handling the virtual representation of items, both digital and physical, on the EOS blockchain led by Mythical Games. Take a look at the smart contract code here.

Configuration key

The preconfigured key to setup our genesis node is passed throw Dockerfile using the --build-arg option, so make sure to create a start key and save it to continue using the local dev environment with full access.

To create a key, you can use cleos create key --to-console or cleos create key --file <file_name>.key depending on your preference:

Private key: 5Jkvw1DbsGx7W8vSnrHtXSYxM9bfKoJvwEnH51KJYQGv6D5LZyA
Public key: EOS5FCRb5XtkMKFTow2dfPQDQ11ZbfYrmhP4rxWPzZn6pzp1nugpz


Quick start

  • Download the Docker image docker pull eoscostarica506/eos-local
  • Run the Docker image docker run -dp 8888:8888 eoscostarica506/eos-local
  • Run the command cleos get info or check the link in the browser

If you run the command cleos get info or go to and get information like the following it is because you already have the environment ready to work.


Note: As the docker image were pulled from eoscostarica506, the eosio keys are:

Private key: 5JV5XER5ouVYfghE6AEgDeViqkH4VNAJaxwB6wVe4Mk2JHZywPQ
Public key: EOS5hyZZRePAFyKVTEReHLErXviH6chc3w84pQcwtHnsNJWCWj3Jp

Instructions for creating EOS Mainnet Local Network image locally

To create the Docker image locally, you must run the following commands:

  • Clone the local Eos repository
  • Enter to the cloned repository folder cd <path/eos-local>
  • Copy the example env file .env.example with cp .env.example .env and fill it with your keys
  • Build the Dockerfile image with env variables make build-docker or docker build -t eos-local --build-arg testnet_eosio_public_key="<public_key>" --build-arg testnet_eosio_private_key="<private_key>" .
  • Run the Dockerfile image make run or docker run -dp 8888:8888 eos-local
  • Run the command cleos get info or check the link in the browser

By this point, you already have the EOS Mainnet Local Network image running locally.

File structure

β”œβ”€β”€ .github
β”‚   └── workflows
β”‚       └── publish-docker-image.yml
β”œβ”€β”€ docs ..................... Some media content for README
β”œβ”€β”€ config.ini ............... Nodeos configuration file
β”œβ”€β”€ Dockerfile ............... Contains instructions for building the EOS Mainnet Local Network image
β”œβ”€β”€ genesis.json ............. Specifies the network genesis node parameters
β”œβ”€β”€ LICENSE .................. Terms and Conditions
β”œβ”€β”€ ................ Repository specification
└── ................. Instructions for configuring contracts and usage characteristics


MIT Β© EOS Costa Rica


If you want to contribute to this repository, please follow the steps below:

  1. Fork the project
  2. Create a new branch (git checkout -b feat/sometodo)
  3. Commit changes (git commit -m '<type>(<scope>): <subject>')
  4. Push the commit (git push origin feat/sometodo)
  5. Open a Pull Request

Read the EOS Costa Rica open source contribution guidelines for more information on scheduling conventions.

If you find any bugs, please report them by opening an issue at this link.

What is EOSIO?

EOSIO is a highly performant open-source blockchain platform, built to support and operate safe, compliant, and predictable digital infrastructures.

About EOS Costa Rica

EOS Costa Rica is an independently-owned, self-funded, bare-metal Genesis block producer that provides stable and secure infrastructure for EOSIO blockchains. We support open source software for our community while offering enterprise solutions and custom smart contract development for our clients.