在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:peer-base/peer-base开源软件地址:https://github.com/peer-base/peer-base开源编程语言:JavaScript 100.0%开源软件介绍:peer-baseBuild real-time collaborative DApps on top of IPFS DocumentationInstall$ npm install peer-base Importconst PeerBase = require('peer-base') APIRun example appClone this repo. $ cd peer-base
$ cd examples/react-app
$ npm install In a different window, on the same dir, start the rendezvous server: $ npm run start:rv In a different window, on the same dir, run the app server: $ npm start Open http://localhost:3000 and test the app. TestsClone this repo and run:
Testing a deployed pinnerIf you want to make sure your deployed pinner is working correctly, there is a
utility-test that you can run with First you need to export environment variables to ensure the assertion values are correct for your environment, then you can run the test. Example:
InfrastructureThe infrastructure for peer-base and related applications is managed via https://github.com/peer-base/peer-base/ DebugYou can activate the debugging logs by manipulating the $ DEBUG=peer-star:* npm test For file-specific Lead MaintainerContributePeer-base and the IPFS implementation in JavaScript is a work in progress. As such, there's a few things you can do right now to help out:
Want to hack on peer-base?LicenseMIT |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论