1 const shared = require('../shared')
3 const backUp = (client) => {
5 backup: (cb) => shared.tryCallback(
6 client.request('/backup-wallet'),
10 restore: (opts = {}, cb) => shared.tryCallback(
11 client.request('/restore-wallet', opts),
15 rescan: (cb) => shared.tryCallback(
16 client.request('/rescan-wallet'),
22 module.exports = backUp