/ngx-steem-keychain

Your Angular interface to Steem Keychain

Primary LanguageJavaScriptMIT LicenseMIT

ngx-steem-keychain

This package contains an Angular service for easy communication with Steem Keychain browser extension.

Every method available on the global steem_keychain object is wrapped so that an observable is returned.

Installation

npm install --save @steeveproject/ngx-steem-keychain

Example

export class FoobarComponent {

    constructor(
        private steemKeychain: SteemKeychainService
    ) { }

    doKeychainHandshake(): Observable<Response> {
        return this.steemKeychain.requestHandshake();
    }
}

Documentation

In this case code is the best documentation since the module is pretty small.

Please check src/steem-keychain.service.ts for all available methods.

Authors

@tchap created this package when working on Steeve.

License

This package is MIT-licensed.

Credits

angular-library-started was used to bootstrap this package.