I'm setting up a local-testnet with multiple nodes and would like to know if there is a way to premine DOT without using the UI Here is a copy of my docker-compose from following the steps on https://github.com/paritytech/polkadot
version: '2'
services:
polkadot:
container_name: polkadot
image: parity/polkadot
# volumes:
# - /my/local/folder:/polkadot
command: [
# "--name", "PolkaDocker",
# "--ws-external",
# "--rpc-external", #must need
# "--rpc-cors", "all"
"--chain=polkadot-local",
"--alice", "-d", "/tmp/alice",
"--node-key", "0000000000000000000000000000000000000000000000000000000000000002"
]
networks:
polkadotnw:
ipv4_address: 10.0.0.10
polkadot2:
container_name: polkadot2
image: parity/polkadot
# volumes:
# - /my/local/folder:/polkadot
command: [
# "--name", "PolkaDocker",
# "--ws-external",
# "--rpc-external",
# "--rpc-cors", "all"
"--chain=polkadot-local",
"--bob", "-d", "/tmp/bob",
"--bootnodes", "/ip4/127.0.0.1/tcp/30333/p2p/12D3KooWHdiAxVd8uMQR1hGWXccidmfCwLqcMpGwR6QcTP6QRMuD"
]
networks:
polkadotnw:
ipv4_address: 10.0.0.20
depends_on:
- polkadot
networks:
polkadotnw:
driver: bridge
ipam:
config:
- subnet: 10.0.0.0/24
--charlie