GaiaNet-AI / gaianet-node

Install and run your own AI agent service
https://www.gaianet.ai/
GNU General Public License v3.0
3.01k stars 130 forks source link

Add utils project #13

Closed grorge123 closed 3 months ago

grorge123 commented 3 months ago
grorge123 commented 3 months ago

Thanks. Can you create a folder utils/registry for this project? That is because we will have multiple utils like this.

I have modified it. Please check, thx.

juntao commented 3 months ago

Is it possible to generate the private key into a keystore file? The config.json file could store the keystore password instead?

In this way, the config.json file starts with a password field and an empty address field.

grorge123 commented 3 months ago

Is it possible to generate the private key into a keystore file? The config.json file could store the keystore password instead?

In this way, the config.json file starts with a password field and an empty address field.

I have added it. Please check, thx.

juntao commented 3 months ago

@grorge123 Let's go one step further -- if the password field is missing, we will generate a random password and put into config.json.

Please open another PR for that. Thanks.