1 2 3 4 5 6 > >>   Sort: Rank

register-user.js - Register New User
How to write a Node.js script to Register New Users to ca.example.com? If you are an administrator on ca.example.com, you can register other new users to ca.example.com. Here is sample Node.js script, register-user.js, that uses your "admin" identity from the local wallet to register a new user to o...
2019-04-22, 175👍, 0💬

Differences of evaluateTransaction() and submitTransaction()
What are the differences of Differences of evaluateTransaction() and submitTransaction() of the fabric-network.Contract class? Here are the Differences of evaluateTransaction() and submitTransaction() of the fabric-network.Contract class: evaluateTransaction() method - Calls the given transaction fu...
2019-04-22, 174👍, 0💬

submit-transaction.js - Submit Chaincode Transaction
How to write a Node.js script to submit a transaction defined in the Invoke method of a chaincode? Here is sample Node.js script, submit-transaction.js, that uses a given user identity from the local wallet to submit a transaction on chaincode. /* Copyright (c) FYIcenter.com */ 'use strict'; const {...
2019-04-22, 173👍, 0💬

wallet-import.js - Import Keys to Wallet
How to write a Node.js script to Import Keys to Wallet? After enroll (sign in) to ca.example.com, you will receive your private key and a certificate of your public key. You can save import them into a local wallet. Here is sample Node.js script, wallet-import.js, that enrolls (signs in) to ca.examp...
2019-04-22, 171👍, 0💬

evaluate-transaction.js - Evaluate Chaincode Transaction
How to write a Node.js script to evaluate a transaction defined in the Invoke method of a chaincode? Here is sample Node.js script, evaluate-transaction.js, that uses a given user identity from the local wallet to evaluate a transaction on chaincode. /* Copyright (c) FYIcenter.com */ 'use strict'; c...
2019-04-22, 168👍, 0💬

Hyperledger Tutorials
Where to find tutorials on Hyperledger? I want to know how to create Hyperledger applications. Here is a large collection of tutorials to answer many frequently asked questions compiled by FYIcenter.com team about Hyperledger: Introduction to Hyperledger What Is Hyperledger What Is Blockchain What I...
2019-04-19, 139👍, 0💬

What Is Hyperledger
What Is Hyperledger? Hyperledger is an open source project for developing blockchain-based application frameworks and tools. Currently, Hyperledger is working on the following frameworks: Hyperledger Burrow v.0.21.0, 2019 - Hyperledger Burrow is a blockchain client including a built-to-specification...
2019-04-19, 109👍, 0💬

Introduction to Hyperledger
Where to find tutorials as Introduction to Hyperledger. Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team as Introduction to Hyperledger. What Is Hyperledger What Is Blockchain What Is Distributed Ledger What Is Smart Contract   ⇒ What Is Hyperledge...
2019-04-19, 107👍, 0💬

CouchDB Server Admin Web Portal
What is CouchDB Server Admin Web Portal? If you are running BYFN (Build Your First Network) with the CouchDB option, the World State of each peer node is stored a CouchDB server running as Docker container. The CouchDB server supports an admin web portal that allows you manage the CouchDB server, it...
2019-04-19, 168👍, 0💬

Impact of Stopping Chaincode Container
What is the impact of stopping a chaincode container of a peer? We know that if a Peer has chaincode installed, it will run it as chaincode container to help the channel to perform a transaction on the chaincode. If you stop a chaincode container of a peer who is not a required member of the chainco...
2019-04-17, 181👍, 0💬

Not All Member Peers Run Chaincode
How to find out which member peers are running a given chaincode? When a chaincode is instantiated on a channel, you don't need all member peers to install the chaincode and run it. But we have to have some member peers to install and run it. Otherwise, no transactions can be performed on this chain...
2019-04-17, 173👍, 0💬

Auto-Start of Required Chaincode Container
Why a chaincode container is automatically started? A chaincode container will be automatically started, if a chaincode is invoked and the chaincode container's peer is a required peer for the chaincode. Let's continue with the previous tutorial to see this behavior. 6. Stop the chaincode container ...
2019-04-17, 172👍, 0💬

Instantiate Chaincode on BYFN Channel
How to Instantiate Chaincode on BYFN Channel? You can follow this tutorial to Instantiate Chaincode on BYFN Channel manually. 1. Verify the installed chaincode: $ docker exec -it cli bash bash-4.4# echo $CORE_PEER_ADDRESS peer0.org2.example.com:7051 bash-4.4# peer chaincode list --installed Get inst...
2019-04-14, 212👍, 0💬

Hyperledger Composer Playground
Where to find tutorials on Hyperledger Composer Playground. Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Hyperledger Composer Playground. What Is Hyperledger Composer Playground Start Hyperledger Composer Playground What Is Basic Sample Busi...
2019-04-13, 124👍, 0💬

Install Chaincode on BYFN Peers
How to install chaincode on BYFN peers? You can follow this tutorial to install chaincode on BYFN peers manually. 1. Verify the chaincode source file on the BYFN CLI container: $ docker exec -it cli bash bash-4.4# bash-4.4# echo $GOPATH /opt/gopath bash-4.4# ls -l $GOPATH/src/github.com/chainco de/ch...
2019-04-13, 186👍, 0💬

Update Anchor Peer of Each BYFN Organization
How to Update Anchor Peer of Each BYFN Organization? You can follow this tutorial to Update Anchor Peer of Each BYFN Organization. 1. Update the default peer as the anchor peer: bash-4.4# echo $CORE_PEER_ADDRESS peer0.org2.example.com:7051 bash-4.4# peer channel update -o orderer.example.com:7050 -c...
2019-04-13, 186👍, 0💬

BYFN Chaincode - chaincode_example02.go
What is the chaincode in Golang used in BYFN (Build Your First Network)? The chaincode in Golang used in BYFN (Build Your First Network) is located in the chaincode_example02.go file and localed in hyperledger-binaries/fabric-sa mples/chaincode/chaincode_exam ple02/go/directory: $ cd hyperledger-bina...
2019-04-13, 179👍, 0💬

Azure AD B2C "id_token" from Google
Where to find an Azure AD B2C "id_token" example from Google as an external identity provider? Here is an Azure AD B2C "id_token" example from Google as an external identity provider: Header: { "typ": "JWT", "alg": "RS256", "kid": "X5eXk4xyojNFum1kl2Ytv8dlNP4-c 57dO6QGTVBwaNk"} Claims: { "exp": 1547...
2019-04-11, 281👍, 0💬

Dump Azure AD v2.0 Authentication Response
How to build a PHP script to dump Azure AD 2.0 Authentication Response? If you are use the Azure-AD-Authentication-Reques t-Test.htmltest Web form, you need to write a server side script to dump the Azure AD Authentication Response. Here is an example of PHP script, openID_receiver.php, that dumps a...
2019-04-03, 218👍, 0💬

Azure AD v2 id_token Is Smaller
Where Azure AD v2.0 id_token is smaller than v1.0? Azure AD v2.0 id_token is smaller than v1.0, because the number of default claims (properties) are reduced in Azure AD v2.0 id_tokens as shown in the table below: Azure AD v2.0 Azure AD v1.0 ver=2.0 ver=1.0 rh iss iss sub sub aud aud exp exp iat iat...
2019-04-03, 214👍, 0💬

Decode Azure AD v2 id_token
How to decode the id_token value received from Azure AD v2.0 authentication response? According to the "RFC 7519 - JWT (JSON Web Token)" standard, the "id_token" value received from Azure AD authentication response should be decoded as below: Splitting the encoded string into 3 components: Header, B...
2019-04-03, 206👍, 0💬

Azure AD v2 id_token Decoded Example
Where to find an Azure AD v2.0 id_token decoded example? Here is an example of an "id_token" value returned from Azure AD v2.0 after Base64URL decoded: Header = { "typ": "JWT", "alg": "RS256", "kid": "1LTMzakihiRla_8z2BEJVXeWMqo" } Body = { "ver": "2.0", "iss": "https://login.microsoftonline .com/918...
2019-04-03, 205👍, 0💬

Build Implicit Flow with Azure AD v2
How to implement the OpenID Implicit Flow with Azure AD v2.0 service? If you want to implement the OpenID Implicit Flow in your Web application to use Azure AD service, you should follow these steps: 1. Building the Azure AD v2.0 Sign-on authentication request: Register your Web application to the A...
2019-04-03, 204👍, 0💬

Adding Claims in Azure AD v2 id_token
How to include additional claims in Azure AD v2.0 id_tokens? If you want to include additional claims in Azure AD v2.0 id_tokens, you need to modify your application registration in Azure AD. 1. Log in the Azure portal. 2. Select the Azure Active Directory service, and then select App registrations ...
2019-03-27, 259👍, 0💬

1 2 3 4 5 6 > >>   Sort: Rank