code: function setKeypair (keypair) {
    if (keypair.hasOwnProperty('priv') && keypair.hasOwnProperty('pub')) {
      keypair = { secretKey: keypair.priv, publicKey: keypair.pub }
      console.warn('pub/priv naming for accounts has been deprecated, please use secretKey/publicKey')
    }
    secrets.set(this, {
      secretKey: Buffer.from(keypair.secretKey, 'hex'),
      publicKey: keypair.publicKey
    })
  }
docs: Select specific account
  @alias module:@aeternity/aepp-sdk/es/account/memory
  @function
  @instance
  @rtype (keypair: {publicKey: String, secretKey: String}) => Void
  @param {Object} keypair - Key pair to use
  @param {String} keypair.publicKey - Public key
  @param {String} keypair.secretKey - Private key
  @return {Void}
  @example setKeypair(keypair)