المشاريع
عرض على GitHub
kofj/naivechain
حول
A naive and simple implementation of blockchains.
الأعمال والماليةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلnaivechain
A naive and simple implementation of blockchains.
Build And Run
Download and compile go get -v github.com/kofj/naivechain
Start First Node
naivechain -peers ""Start Second Node
naivechain -api :3002 -p2p :6002 -peers ws://localhost:6001
HTTP API
query blocks
curl http://localhost:3001/blocksmine block
curl -H "Content-type:application/json" --data '{"data" : "Some data to the first block"}' http://localhost:3001/mine_blockadd peer
curl -H "Content-type:application/json" --data '{"peer" : "ws://localhost:6002"}' http://localhost:3001/add_peerquery peers
curl http://localhost:3001/peers
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…