nenet node server

DevYK d898cf3fce withdraw http succeed %!s(int64=3) %!d(string=hai) anos
bin 6c7023d2a0 denet server init %!s(int64=3) %!d(string=hai) anos
config d898cf3fce withdraw http succeed %!s(int64=3) %!d(string=hai) anos
model d898cf3fce withdraw http succeed %!s(int64=3) %!d(string=hai) anos
node_modules acda782535 读取 env 解密私钥 %!s(int64=3) %!d(string=hai) anos
public 6c7023d2a0 denet server init %!s(int64=3) %!d(string=hai) anos
routes 3450e4450b 读取所有的币价格 %!s(int64=3) %!d(string=hai) anos
views 6c7023d2a0 denet server init %!s(int64=3) %!d(string=hai) anos
.env.example acda782535 读取 env 解密私钥 %!s(int64=3) %!d(string=hai) anos
.gitignore 634672042f change moralis_sdk %!s(int64=3) %!d(string=hai) anos
README.md acda782535 读取 env 解密私钥 %!s(int64=3) %!d(string=hai) anos
app.js acda782535 读取 env 解密私钥 %!s(int64=3) %!d(string=hai) anos
package-lock.json acda782535 读取 env 解密私钥 %!s(int64=3) %!d(string=hai) anos
package.json acda782535 读取 env 解密私钥 %!s(int64=3) %!d(string=hai) anos

README.md

安装必要的库

npm install

配置环境变量

vim ~/.bashrc

export DENET_CRYPT_KEY=0IPmaec1o9FQCqGN
export DENET_CRYPT_IV=Zh4A7bOY2ksp9oIn

source ~/.bashrc

启动

<!-- 测试环境启动 具备热更新-->
npm run dev
<!-- 线上环境启动 -->
npm run prd

健康检查

http://localhost:3000/nenet

文档