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
{ | |
"Result": "Successful", | |
"Duration": [ | |
0, | |
"ms" | |
], | |
"Results": [ | |
[ | |
{ | |
"Properties": { |
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
{ | |
"Age": "21", | |
"Name": "Sebastian", | |
"children": [ | |
{ | |
"Age": "19", | |
"Name": "Alexander" | |
}, | |
{ | |
"Age": "45", |
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
function printTree(VertexList, depth) | |
{ | |
var properties = VertexList.getProperties(); | |
if(depth == 0) | |
{ | |
console.log(VertexList); | |
if(properties.lenght != 0) { | |
$.each(properties, function(){ | |
tree[new String(this.ID)] = this.Value; | |
}); |
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
module.exports = [ | |
{ | |
"emoji": "100", | |
"surrogates": [ | |
"💯" | |
] | |
}, | |
{ | |
"emoji": "1234", | |
"surrogates": [ |
This file has been truncated, but you can view the full file.
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
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.lightwallet = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
'use strict'; | |
module.exports = { | |
txutils: require('./lib/txutils.js'), | |
encryption: require('./lib/encryption.js'), | |
signing: require('./lib/signing.js'), | |
keystore: |
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 2017 Peter Czaban, Parity Technologies Ltd. | |
//! | |
//! Licensed under the Apache License, Version 2.0 (the "License"); | |
//! you may not use this file except in compliance with the License. | |
//! You may obtain a copy of the License at | |
//! | |
//! http://www.apache.org/licenses/LICENSE-2.0 | |
//! | |
//! Unless required by applicable law or agreed to in writing, software | |
//! distributed under the License is distributed on an "AS IS" BASIS, |
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
{ | |
"name": "validatortest", | |
"engine": { | |
"authorityRound": { | |
"params": { | |
"stepDuration": "3", | |
"validators": { | |
"multi": { | |
"0": { | |
"list": [ |
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
(async () => { | |
// require blockchain-core dependencies | |
const IpfsApi = require('ipfs-api'); | |
const Web3 = require('web3'); | |
// require blockchain-core | |
const { Ipfs, createDefaultRuntime, ModificationType, PropertyType } = require('@evan.network/blockchain-core'); | |
const accountId = '0xD5c4b30B3c80E01B7eF3E7067Ce13733Df11d8A1'; | |
// configure the runtime object | |
const runtimeConfig = { |
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.20; | |
// interface for identity, that holds verifications | |
interface VerificationHolder { | |
function getVerification(bytes32 _verificationId) | |
external | |
view | |
returns( | |
uint256 topic, | |
uint256 scheme, |
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
// require blockchain-core dependencies | |
const IpfsApi = require('ipfs-api'); | |
const Web3 = require('web3'); | |
const fs = require('fs') | |
// require blockchain-core | |
const { Ipfs, createDefaultRuntime, Executor } = require('@evan.network/api-blockchain-core'); | |
const runtimeConfig = { | |
// account map to blockchain accounts with their private key |
OlderNewer