https://github.com/gjeanmart/loom-docker
Run a Loom Network dAppChain with Docker
https://github.com/gjeanmart/loom-docker
docker ethereum loomnetwork sidechain
Last synced: about 1 year ago
JSON representation
Run a Loom Network dAppChain with Docker
- Host: GitHub
- URL: https://github.com/gjeanmart/loom-docker
- Owner: gjeanmart
- Created: 2018-07-31T15:13:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T10:38:24.000Z (almost 8 years ago)
- Last Synced: 2025-03-20T20:17:44.307Z (about 1 year ago)
- Topics: docker, ethereum, loomnetwork, sidechain
- Language: Dockerfile
- Homepage:
- Size: 23.1 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# loom-docker
A docker container to run a Loom dAppChain
## Getting started
1. Write your smart contract into a folder "/workspace/foo/MySideChainContract.sol"
2. Start the dAppchain
```
docker run -it \
-p 46656:46656 -p 46657:46657 -p 46658:46658 -p 9999:9999 \
-v /workspace/foo:/loom/contracts \
-e CONTRACT_NAME=MySideChainContract \
gjeanmart/loom-docker
```
## Samples
Checkout the code in https://github.com/gjeanmart/loom-docker/tree/master/samples
### Simple Storage
```
docker run -it \
-p 46656:46656 -p 46657:46657 -p 46658:46658 -p 9999:9999 \
-v /path/to/loom-docker/samples/SimpleStorage:/loom/contracts \
-e CONTRACT_NAME=SimpleStorage \
gjeanmart/loom-docker
```
### Simple Social Network
Based on this example: https://loomx.io/developers/docs/en/simple-social-network-example.html
```
$ docker-compose build
$ docker-compose up
```
Open the browser on `http://localhost:8080`
## TODO List
- Manage multi-file contracts
- Manage peers