code: function (state) {
      // console.log(JSON.stringify(state, false, 2));
      let env = state.pointers[state.head];
      let specific = '';
      let faked = '';
  
      if(env.type === 'internal') {
        let dHeight = env.meta.height - env.forkRoot;
        specific = `fork root: ${env.forkRoot}
  height: +${dHeight} ${env.devmode?'(dev)':''}`;
        faked = `faked accounts:
  ${env.fakedOwnership.join('\n')}\n`;
      } else {
        specific = `type: ${env.type}
  uri: ${env.network.host}:${env.network.port}`;
      }
  
      let context = _.map(env.env, (e, name) => `${e.type} ${name} = ${e.value}`)
      .join('\n');
  
      return `Chain: ${state.head}
  
  ${specific}
  
  default account:
  ${env.defaultAccount}
  
  ${faked}
  Context:
  ${context}
  
  `;
  // ${JSON.stringify(env, false, 2)}
  
  
  // pending transactions: (TODO)
  // 1. 0x0123..df:  0xfdbc..10 -.> 0xf31c..34
  // 2. ...
  // 3. <TX_HASH>: <FROM> --> [ <TO> ]
    }
docs: /* Prints out dapple chains status nicely
  
  @param state state object
  - genesis: genesis hash
  - height: block height