@2pi-network/create-app 中文文档教程
Welcome to 2PI Create App
使用 2PI 协议构建的 JavaScript 项目启动器
Installation
Using npx
npx @2pi-network/create-app my_new_project
这将创建 my_new_project
目录并在其中初始化示例项目。
Supported arguments
有关最新列表,请查看内联帮助:
npx @2pi-network/create-app --help
Warning
在将 API 机密作为命令行选项提供时要小心,因为它将存储在您的 shell 历史记录中。 如果您省略该选项,无论如何都会在初始配置期间询问它。
Let's talk!
- Join our #devs channel on Discord!
Welcome to 2PI Create App
JavaScript project starter for building with 2PI Protocol
Installation
Using npx
npx @2pi-network/create-app my_new_project
This will create the my_new_project
directory and initialize a sample project in it.
Supported arguments
For an up to date list, please check the inline help with:
npx @2pi-network/create-app --help
Warning
Be careful when providing the API secret as a command line option, since it will be stored on your shell history. If you omit the option it will be asked during the initial configuration anyway.
Let's talk!
- Join our #devs channel on Discord!