flow-cli
flow-cli copied to clipboard
Accounts declared in the flow.json are not created when emulator is launched
https://github.com/onflow/flow-emulator/issues/405
from flow-emulator repo by @cybercent
###Instructions
flow accounts create adds and account to the flow.json file.
When relaunching the emulator the accounts defined in the flow.json are not recreated.
There should be a command to recreate the accounts defined in the flow.json file.
###Problem
Accounts defined in flow.json not present in emulator.
Steps to Reproduce
{ "accounts": { "AccountA": { "address": "01cf0e2f2f715450", "key": "some_private_key" }, "AccountB": { "address": "179b6b1cb6755e31", "key": "some_private_key" }, "AccountC": { "address": "f3fcd2c1a78f5eee", "key": "some_private_key" }, "default": { "address": "01cf0e2f2f715450", "key": "some_private_key" }, "emulator-account": { "address": "f8d6e0586b0a20c7", "key": "some_private_key" } }, "deployments": { "emulator": { "default": [], "emulator-account": [] } } }
###Acceptance Criteria
There should be a command to recreate the accounts defined in the flow.json file.