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
Necesitas recopilar 48 caracteres y encontrarás en Rinkeby la solución y recuerda: con el orden disminuirá el caos. | |
- Desgraciadamente, fue cuando le dio un ataque al corazón | |
- Fue inventada el año anterior | |
- ¿Cuántos dedos tiene una mano? | |
- Para algunos significa la esperanza (aunque también puedes verlo en los tréboles) | |
- Su respuesta encontrarás utilizando un conjunto de símbolos que se compone de 1 o 0 en cifras | |
- Código que sirve para facilitar y mecanizar el encaminamiento de una pieza de correo | |
- Es posible que el matemático indio Brahmagupta (siglo vi) fuera el primero en teorizar sobre el concepto | |
- Introducido bajo el nombre AXP, conocer su historia necesitarás. |
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.22 <0.6.0; | |
contract Property { | |
/* Define variable greeting of the type string */ | |
mapping(string=>string) public properties; | |
/* Main function */ |
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/myapp.com/msp | |
Policies: &OrdererOrgPolicies | |
Readers: | |
Type: Signature | |
Rule: "OR('OrdererMSP.member')" |
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: myapp.com | |
Specs: | |
- Hostname: orderer |
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
# Setting environment Variables # | |
export ORG_DIR=$PWD/crypto-config/peerOrganizations/dummyOrg.com | |
export PEER_DIR=$ORG_DIR/peers/peer0.dummyOrg.com | |
export REGISTRAR_DIR=$ORG_DIR/users/admin | |
export ADMIN_DIR=$ORG_DIR/users/Admin@dummyOrg.com | |
echo "[Step 1] Enroling cient and registering peer and user identitities" | |
export FABRIC_CA_CLIENT_HOME=$REGISTRAR_DIR | |
# Enroll client to interact |
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
ica.dummyOrg: | |
image: hyperledger/fabric-ca | |
environment: | |
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server-config | |
- FABRIC_CA_SERVER_CA_NAME=ica.dummyOrg | |
- FABRIC_CA_SERVER_TLS_ENABLED=false | |
- FABRIC_LOGGING_SPEC=debug | |
ports: | |
- "8054:7054" |
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
export REGISTRAR_DIR=$PWD | |
export FABRIC_CA_CLIENT_HOME=$REGISTRAR_DIR | |
export ORG_DIR=$PWD/crypto-config/peerOrganizations/dummyOrg.com | |
export PEER_TLS=$PWD/peertls | |
export PEER_DIR=$ORG_DIR/peers/peer0.dummyOrg.com | |
export REGISTRAR_DIR=$ORG_DIR/users/admin | |
export ADMIN_DIR=$ORG_DIR/users/Admin@dummyOrg.com | |
export TLS=$ORG_DIR/tlsca | |
mkdir -p $ORG_DIR/ca $ORG_DIR/msp $PEER_DIR $REGISTRAR_DIR $ADMIN_DIR $TLS |
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' | |
services: | |
ca.root: | |
image: hyperledger/fabric-ca | |
environment: | |
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server | |
- FABRIC_CA_SERVER_CA_NAME=ca.root | |
- FABRIC_CA_SERVER_TLS_ENABLED=false | |
- FABRIC_LOGGING_SPEC=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
/* Token ERC20 - Smart Contract */ | |
pragma solidity ^0.5.2; | |
import "github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol"; | |
import "github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/SafeMath.sol"; | |
contract Token is IERC20 { | |
using SafeMath for uint256; | |
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.22 <0.6.0; | |
contract Greeter { | |
/* Define variable greeting of the type string */ | |
string greeting; | |
/* This runs when the contract is executed */ | |
constructor(string memory _greeting) public { |
NewerOlder