Bloc giving errors when doing "bloc genkey" on terminal


I followed steps here to build the directory structure for my apps but when I did “bloc genkey” I got following error messages:

Here is the curl request on another tab:

Do I need to change any configs?



Hi @suchit

The commandline tool has been deprecated. Please use the POST route for creating users,


@john is there a directory structure I can follow when creating web applications. Similar to how folder structure gets created when doing Bloc init.


@suchit this demo application is a pretty good structure to follow. You can see we have the ui/ directory and server/ directory which contains the middleware and smart contracts.

Let me know if you have more questions on the structure :slight_smile: