hivesigner.jsを触る

shogo(68)
Published in
Hive JP
Words
46
Reading
1 min
Listen
Play
6y

スクリーンショット 20200325 0.01.26.png

こんにちは、 shogo@shogoです。

Steem ConnectのHive版、"hivesigner"を触ってみました。

<script src="https://cdn.jsdelivr.net/npm/hivesigner"></script>

<script>

let api = new hivesigner.Client({
  app: 'test',
  callbackURL: 'http://localhost:8080',
  scope: ['vote', 'comment']
});

</script>

こんな感じで、ほぼコードを変えずに、アプリケーションをSteemからHiveへ移行できそうです :)

GitHub: https://github.com/ledgerconnect/hivesigner.js

Documentation: https://hivesigner.com/developers

開発者の方は、この辺を見るとすぐに分かると思います。

Hive Keychainのログイン機能も試したいと思います :)

Hive on,
shogo@shogo

hivesigner.jsを触る | Ecency