diff --git a/README.md b/README.md index 01b1db3..29b80bb 100644 --- a/README.md +++ b/README.md @@ -74,9 +74,9 @@ Sites can request that the extension sign and broadcast a transfer operation for ``` steem_keychain.requestTransfer(account_name, to_account, amount, memo, currency, function(response) { console.log(response); -},enforce); +}, enforce); ``` -where `memo` will be encrypted using Memo key if it is starting by `#`, and `enforce` doesn't allow the user to chose which account will make the transfer but rather enforce `account_name`. +where `memo` will be encrypted using Memo key if it is starting by `#`, and `enforce` doesn't allow the user to chose which account will make the transfer but rather enforce `account_name` (optional, defaults to false). ### Decode Memo / Verify Key @@ -129,10 +129,12 @@ Sites can request that the extension sign messages: ``` steem_keychain.requestSignBuffer(account_name, message, key_type, function(response) { console.log(response); -}); +}, enforce); ``` -Where "message" is any string and "key_type" can be "Posting" or "Active". This is equivalent to +Where "message" is any string and "key_type" can be "Posting" or "Active", and "account_name" can be omitted optionally to allow the user to choose an account to sign the message with. + +. This is equivalent to ```Signature.signBufferSha256(hash.sha256(message), wif).toHex();``` diff --git a/css/dialog.css b/css/dialog.css index 48b5cc4..16827f7 100644 --- a/css/dialog.css +++ b/css/dialog.css @@ -96,7 +96,7 @@ h3 .small { #modal-body-msg .msg-data>div, #modal-body-msg .msg-data>h3, -#transfer_acct_list { +#acct_list { display: none; } diff --git a/example/main.html b/example/main.html index bd214d9..bdb6d61 100644 --- a/example/main.html +++ b/example/main.html @@ -70,7 +70,7 @@

Add Account Authority

- +

Remove Account Authority

diff --git a/html/dialog.html b/html/dialog.html index 29c3ed1..24ec179 100644 --- a/html/dialog.html +++ b/html/dialog.html @@ -31,14 +31,14 @@