mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 07:11:36 +02:00
API Lifecycle Implementation, Part 2 (#217)
* additon of 'get_mnemonic' API function * rustfmt * added 'change_password' api function * rustfmt * add 'delete_wallet' function' * rustfmt
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "change_password",
|
||||
"params": {
|
||||
"name": null,
|
||||
"old": "passwoid",
|
||||
"new": "password"
|
||||
},
|
||||
"id": 1
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
"params": {
|
||||
"name": null,
|
||||
"mnemonic": null,
|
||||
"mnemonic_length": 0,
|
||||
"mnemonic_length": 32,
|
||||
"password": "passwoid"
|
||||
},
|
||||
"id": 1
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "delete_wallet",
|
||||
"params": {
|
||||
"name": null
|
||||
},
|
||||
"id": 1
|
||||
}
|
||||
Reference in New Issue
Block a user