ngx-steem-keychain 1.1: Buffer Signing and Broadcast Available
Repository
https://github.com/steeveproject/ngx-steem-keychain
New Features
This release synchronizes ngx-steem-keychain with Steem Keychain extension version 1.1.4 as current available on the Chrome extension store. The following public methods were added to SteemKeychainService:
requestSignBuffer- Sign a buffer with the selected private key (proxy tosignature.Signature.signBufferfromsteem-js).requestBroadcast- Broadcast any operation to the blockchain (proxy tosteem.broadcast.sendfromsteem-js).requestSignedCall- Execute a signed call (proxy tosteem.api.signedCallfromsteem-js).
To see all changes, compare what is new with the 1.0 release.
Example: Claim Reward Balance
Any blockchain operation can be now broadcasted to the blockchain. The following snippet illustrates how to claim rewards for the selected user (having SteemKeychainService injected as this.steemKeychain):
claimRewardBalance(
username: string,
rewardSteem: string,
rewardSbd: string,
rewardVests: string
): Observable<any> {
return this.steemKeychain.requestBroadcast(username, [
new Operation('claim_reward_balance', {
account: username,
reward_steem: rewardSteem,
reward_sbd: rewardSbd,
reward_vests: rewardVests,
})
], 'Posting');
}
Using this method I managed to claim reward balance:
GitHub Account
https://github.com/steeveproject
https://github.com/tchap - @void - package maintainer
View this post on Steeve
Leave ngx-steem-keychain 1.1: Buffer Signing and Broadcast Available to:
Read more #utopian-io posts
Best Posts From Steeve
We have not curated any of steeveapp's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Steeve
- Our Vision
- About Steeve
- Introducing Steeve Vote Beneficiaries
- SteeveBot Starts Rewarding Steeve Community’s Most Appreciated Content
- Steeve Update #6 - Fast Navigation, Easy Image Upload, Night Mode and More
- Steeve's Business Plan
- ngx-steem-keychain 1.1: Buffer Signing and Broadcast Available
- Steeve Update #5 - Favorite Users, Condensed Card View, Story Rating, Faster Startup Time and More
- Steeve on SteemFest 3 by @hr1
- Steeve Update #4 - Explore Section, Steem Keychain Integration, Story Instant Hide, and More