An open API service indexing awesome lists of open source software.

https://github.com/fabryprog/iotex-core-compose

Docker compose to create a IoTeX node
https://github.com/fabryprog/iotex-core-compose

docker docker-compose iot iotex iotex-core

Last synced: 3 months ago
JSON representation

Docker compose to create a IoTeX node

Awesome Lists containing this project

README

        

# iotex-core-compose

Docker compose to create a IoTeX node (testnet)

The compose has:
1. iotex-core image
2. iotex-explorer image
3. iotex-wallet image

# Config file

copy the file ```config.template.yml``` into ```config.yml``` and edit it. You must change using yoir public ip

# Start your node

```
docker-compose up -d
```

# Test your node

## Request

```
curl -X POST --data '{"jsonrpc":"2.0","method":"Explorer.getBlockchainHeight","params":[],"id":"1"}' 127.0.0.1:14004
```

## Response

```
{"jsonrpc":"2.0","id":"1","result":231746}
```
# Explorer

You can open the explorer using this url: http://YOUR IP ADDRESS:4004/