def set_seed(self, seed):
        """
        RPC call to set the wallet seed.
        NOTE: Only available in a DEBUG build of the firmware.
        NOTE: Setting a seed always sets a 'temporary' wallet.

        Parameters
        ----------
        seed : bytes
            The wallet seed to set as a temporary wallet (cannot be persisted in flash).

        Returns
        -------
        bool
            True on success.
        """
        params = {'seed': seed}
        return self._jadeRpc('debug_set_mnemonic', params)

        RPC call to set the wallet seed.
        NOTE: Only available in a DEBUG build of the firmware.
        NOTE: Setting a seed always sets a 'temporary' wallet.

        Parameters
        ----------
        seed : bytes
            The wallet seed to set as a temporary wallet (cannot be persisted in flash).

        Returns
        -------
        bool
            True on success.
        
electrum/plugins/jade/jadepy/jade.py