encryptwallet - Spacecoin RPC Docs
encryptwallet "passphrase" WARNING: encryptwallet is disabled. To enable it, restart hushd with the -experimentalfeatures and -developerencryptwallet commandline options, or add these two lines to the SPACE.conf file: experimentalfeatures=1 developerencryptwallet=1 Encrypts the wallet with 'passphrase'. This is for first time encryption. After this, any calls that interact with private keys such as sending or signing will require the passphrase to be set prior the making these calls. Use the walletpassphrase call for this, and then walletlock call. If the wallet is already encrypted, use the walletpassphrasechange call. Note that this will shutdown the server. Arguments: 1. "passphrase" (string) The pass phrase to encrypt the wallet with. It must be at least 1 character, but should be long. Examples: Encrypt you wallet > spacecoin-cli encryptwallet "my pass phrase" Now set the passphrase to use the wallet, such as for signing or sending SPACE > spacecoin-cli walletpassphrase "my pass phrase" Now we can so something like sign > spacecoin-cli signmessage "SPACE_address" "test message" Now lock the wallet again by removing the passphrase > spacecoin-cli walletlock As a json rpc call > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "encryptwallet", "params": ["my pass phrase"] }' -H 'content-type: text/plain;' http://127.0.0.1:35593/
Learn more about spacecoin at spacecoin.network. Docs generated by spacecoin v0.6.1. Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.
CClib
Addressindex
Auction
Blockchain
coinsupply
getbestblockhash
getblock
getblockchaininfo
getblockcount
getblockhash
getblockhashes
getblockheader
getchaintips
getchaintxstats
getdifficulty
getlastsegidstakes
getmempoolinfo
getrawmempool
getspentinfo
gettxout
gettxoutproof
gettxoutsetinfo
kvsearch
kvupdate
minerids
notaries
verifychain
verifytxoutproof
getbestblockhash
getblock
getblockchaininfo
getblockcount
getblockhash
getblockhashes
getblockheader
getchaintips
getchaintxstats
getdifficulty
getlastsegidstakes
getmempoolinfo
getrawmempool
getspentinfo
gettxout
gettxoutproof
gettxoutsetinfo
kvsearch
kvupdate
minerids
notaries
verifychain
verifytxoutproof
Channels
Crosschain
MoMoMdata
assetchainproof
calc_MoM
getNotarisationsForBlock
getimports
getwalletburntransactions
height_MoM
importdual
importgatewaybind
importgatewaycompletesigning
importgatewayddress
importgatewaydeposit
importgatewaybind
importgatewaymarkdone
importgatewayspartialsign
importgatewaypendingwithdraws
importgatewayprocessed
importgatewaywithdraw
migrate_checkburntransactionsource
migrate_completeimporttransaction
migrate_converttoexport
migrate_createburntransaction
migrate_createimporttransaction
migrate_createnotaryapprovaltransaction
scanNotarisationsDB
selfimport
assetchainproof
calc_MoM
getNotarisationsForBlock
getimports
getwalletburntransactions
height_MoM
importdual
importgatewaybind
importgatewaycompletesigning
importgatewayddress
importgatewaydeposit
importgatewaybind
importgatewaymarkdone
importgatewayspartialsign
importgatewaypendingwithdraws
importgatewayprocessed
importgatewaywithdraw
migrate_checkburntransactionsource
migrate_completeimporttransaction
migrate_converttoexport
migrate_createburntransaction
migrate_createimporttransaction
migrate_createnotaryapprovaltransaction
scanNotarisationsDB
selfimport
Gateways
Generating
Lotto
Marmara
Mining
NSPV
Network
Oracles
Payments
Pegs
Prices
Rawtransactions
Rewards
Tokens
Util
Wallet
addmultisigaddress
backupwallet
cleanwallettransactions
convertpassphrase
dumpprivkey
dumpwallet
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
opreturn_burn
resendwallettransactions
sendfrom
sendmany
sendtoaddress
setaccount
setpubkey
setstakingsplit
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getnewaddress
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunspent
z_mergetoaddress
z_sendmany
z_shieldcoinbase
z_viewtransaction
zcbenchmark
zcrawjoinsplit
zcrawkeygen
zcrawreceive
zcsamplejoinsplit
backupwallet
cleanwallettransactions
convertpassphrase
dumpprivkey
dumpwallet
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
opreturn_burn
resendwallettransactions
sendfrom
sendmany
sendtoaddress
setaccount
setpubkey
setstakingsplit
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getnewaddress
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunspent
z_mergetoaddress
z_sendmany
z_shieldcoinbase
z_viewtransaction
zcbenchmark
zcrawjoinsplit
zcrawkeygen
zcrawreceive
zcsamplejoinsplit