🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/vadiminshakov/new-programming-model-sdk-tutorial

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/vadiminshakov/new-programming-model-sdk-tutorial

v0.0.0-20200413062830-e286cc699742
Source
Go
Version published
Created
Source

Демо-репозиторий для статьи https://habr.com/ru/post/496872/

Предварительные действия

Убедитесь, что у вас есть бинарники configtxgen и cryptogen (и путь к ним добавлен в переменную окружения PATH), иначе смотрите инструкции: https://hyperledger-fabric.readthedocs.io/en/release-1.4/install.html

Запуск сети:

./byfn.sh generate
./byfn.sh up -c mychannel -s couchdb

Настройка клиентского приложения

Поправьте пути в файле connection-org1.yaml в соответствии с расположением данного репозитория на вашей машине. После запуска сети (предыдущий шаг) будет сгенерирован приватный ключ с уникальным ID, его не получилось захардкодить, поэтому вставьте путь до него (с именем файла) в /app/app.go

FAQs

Package last updated on 13 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts