在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:numaverse/numaverse-gateway开源软件地址:https://github.com/numaverse/numaverse-gateway开源编程语言:Ruby 65.2%开源软件介绍:Numaverse GatewayThis project hosts the web server that acts as a gateway to the Numa network. Documentation is currently sparse, but will improve soon. To setup a development environment locally, first run a few basic setup steps: Clone the repository: git clone [email protected]:numaverse/numaverse-gateway.git
cd numaverse-gateway Install ruby and node dependencies: bundle -j4
yarn Setup the database: bundle exec rails db:setup You'll also need to setup a local Ethereum chain for testing. This will setup a single account that, when you run the dev chain, will have a very large amount of funds. You can then import the private key into MetaMask and use that account to setup and fund other testing accounts. Obviously, that private key should never be used on the Ethereum main net, or you might get your funds stolen. geth account import --password ./dev-chain/password.txt --keystore ./dev-chain/geth-keys --datadir ./dev-chain/geth-data dev-chain/account.txt I recommend using overmind to run all the processes needed for development (there area lot). Then, run:
And you'll have the following processes:
If you made it this far, you should have a server running at http://localhost:9000 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论