Skip to content

Instantly share code, notes, and snippets.

@Tschuck
Tschuck / config.js
Last active May 13, 2020 05:19
Create new profile with identity
module.exports = {
// ==============================================================================================
// account that holds the money
account: {
accountId: '',
privateKey: '',
encryptionKey: '',
},
// ==============================================================================================
//
@Tschuck
Tschuck / config.js
Last active April 22, 2020 08:20
Digital Twin - Step by Step
module.exports = {
accounts: [
{
// mnemonic: 'load eagle joke blame flock unhappy infant post lobster prevent stuff cause',
// password: 'SWini6i23zXm',
accountId: '0x3c6b68c59DA231a9a9331789db839A74e315EbC7',
identity: '0x4b87f95C47C91a812e9D59AacfA6622569adB6e8',
// get infos at https://dashboard.test.evan.network/#/dashboard.vue.evan/settings.evan/account
privateKey: '2f0606104c3f4d6f3a71637644c9ec304b19f84d04fd3c74d6ca5c1d3e44faf6',
encryptionKey: '76f180f00bf6da91df9f4022f95733aa164e3be96d5c555229fd33c7ea8a33a9',
@Tschuck
Tschuck / index.html
Last active May 27, 2019 06:21
evan.network - api-blockchain-core sample browserified
<html>
<head>
<script src="./node_modules/@evan.network/api-blockchain-core-browserified/dist/bcc.js"></script>
<script src="./node_modules/@evan.network/smart-contracts-core-browserified/dist/compiled.js"></script>
<script src="https://cdn.jsdelivr.net/npm/ipfs-api@26.1.2/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ethereum/web3.js@1.0.0-beta.33/dist/web3.min.js"></script>
</head>
<script>
// ipfs configuration for evan.network testnet storage
const ipfsConfig = {host: 'ipfs.test.evan.network', port: '443', protocol: 'https'};