tech-bureau / catapult-service-bootstrap

Starter project to get developers up and running with a running Catapult Service
Apache License 2.0
48 stars 45 forks source link

set up raw-addresses.txt and addresses.txt #11

Closed mxito3 closed 5 years ago

mxito3 commented 5 years ago

is there an example of how to set up raw-addresses.txt and addresses.txt

jontey commented 5 years ago

It is generated for you when you run docker-compose up

mxito3 commented 5 years ago

It is generated for you when you run docker-compose up

The problem is that the container which used to generete address response with an error ' (core dumped) /catapult/bin/catapult.tools.address --generate=${num_addresses} -n mijin-test > ${raw_addresses_path}' .but i can use 'nem2-cli account generate --network MIJIN_TEST --save --url http://localhost:3000' in host . so i want to generate address outside container use nem2-cli.but the problem is i don't know the format of raw_addresses.can you give a example of raw_addresses?

jontey commented 5 years ago

This is what I get when I generate the addresses. (Private keys are redacted because they are private)

Address Tool
Copyright (c) Jaguar0625, gimre, BloodyRookie, Tech Bureau, Corp.
catapult version: 0.2.0.2 (public)

Address Tool Initializing Logging...

--- generating 2 keys ---
           private key: <private key>
            public key: 151B942D755F50B540BC70D2F80560828F47DCE2FF4170AE7D929C8938F8A7C8
  address (mijin-test): SDS52FRHN7Z74ZG4WFR27HOJNQDASNL2GM2EIGIX

           private key: <private key>
            public key: F855C55F76A36B48D449396F5E9474548638CCCB9B15EE49884CC8C39E5B28F0
  address (mijin-test): SAJOPVZJOUHKYSIRIKWODLITHVTN4PLVMREAVM3V
jontey commented 5 years ago

@mxito3 did this help?

I think this issue is closed.

mxito3 commented 5 years ago

@mxito3 did this help?

I think this issue is closed.

someone generate these two files,it works!