This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OrdererOrgs: | |
- Name: Orderer | |
Domain: example.com | |
Specs: | |
- Hostname: orderer | |
PeerOrgs: | |
- Name: Org1 | |
Domain: org1.example.com | |
EnableNodeOUs: true | |
Template: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Organizations: | |
- &OrdererOrg | |
Name: OrdererOrg | |
ID: OrdererMSP | |
MSPDir: crypto-config/ordererOrganizations/example.com/msp | |
- &Org1 | |
Name: Org1MSP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
networks: | |
byfn: | |
services: | |
orderer.example.com: | |
container_name: orderer.example.com | |
image: hyperledger/fabric-orderer | |
environment: | |
- ORDERER_GENERAL_LOGLEVEL=debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright IBM Corp All Rights Reserved | |
* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
package main | |
import ( | |
"fmt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
pragma experimental "v0.5.0"; | |
import "./zeppelin/SafeMath.sol"; | |
/** | |
* @title PAXImplementation | |
* @dev this contract is a Pausable ERC20 token with Burn and Mint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
'use strict'; | |
const FabricCAServices = require('fabric-ca-client'); | |
const { FileSystemWallet, X509WalletMixin } = require('fabric-network'); | |
const fs = require('fs'); | |
const path = require('path'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
'use strict'; | |
const { FileSystemWallet, Gateway, X509WalletMixin } = require('fabric-network'); | |
const fs = require('fs'); | |
const path = require('path'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const { FileSystemWallet, Gateway } = require('fabric-network'); | |
const fs = require('fs'); | |
const path = require('path'); | |
const { KJUR, KEYUTIL } = require('jsrsasign'); | |
const CryptoJS = require('crypto-js'); | |
const ccpPath = path.resolve(__dirname, '..', 'basic-network', 'connection.json'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const { FileSystemWallet, Gateway } = require('fabric-network'); | |
const fs = require('fs'); | |
const path = require('path'); | |
const { KJUR, KEYUTIL, X509 } = require('jsrsasign'); | |
const CryptoJS = require('crypto-js'); | |
const ccpPath = path.resolve(__dirname, '..', 'basic-network', 'connection.json'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"time" | |
"github.com/hyperledger/fabric/core/chaincode/shim" | |
sc "github.com/hyperledger/fabric/protos/peer" | |
) |
OlderNewer