docs: def customchain(**kwargsChain):
      """ This decorator allows you to access ``ctx.peerplays`` which is
          an instance of Peerplays. But in contrast to @chain, this is a
          decorator that expects parameters that are directed right to
          ``PeerPlays()``.
  
          ... code-block::python
  
                  @main.command()
                  @click.option("--worker", default=None)
                  @click.pass_context
                  @customchain(foo="bar")
                  @unlock
                  def list(ctx, worker):
                     print(ctx.obj)
  
      """
  
      def wrap(f):
          @click.pass_context
          @verbose
          def new_func(ctx, *args, **kwargs):
              newoptions = ctx.obj
              newoptions.update(kwargsChain)
              ctx.peerplays = PeerPlays(**newoptions)
              ctx.blockchain = ctx.peerplays
              set_shared_peerplays_instance(ctx.peerplays)
              return ctx.invoke(f, *args, **kwargs)
  
          return update_wrapper(new_func, f)
  
      return wrap