- This time BIP-39 has been implemented. It's first time of bitcoin menu in the self-sovereign browser.
- New two APIs,
generation
andshareWith
- generation API
- Generating the mnemonic by BIP-39
- https://api-docs-30b126.gitlab.io/api-references/window.ssi/ssi.bitcoin/generate.html
- shareWith API
- Sharing the bitcoin secrets encrypted by NIP-44 with a counter party
- generation API
- https://api-docs-30b126.gitlab.io/api-references/window.ssi/ssi.bitcoin/shareWith.html
Self Sovereign Identity(SSI)とは、2016年にクリストファー・アレン氏がそれまでアイデンティティコミュニティの人々の間で話し合われていたことから着想してブログ記事「Self-Sovereign Identityへの道」で詳細をまとめた、包括的な用語です。そのブログではSelf-Sovereign Identityの10の原則が定義されています。
- Existence ユーザーは独立した存在でなければならない。
- Control ユーザーは自分のアイデンティティをコントロールできなければならない。
- Access ユーザーは自分のデータにアクセスできなければならない。
- Transparency システムやアルゴリズムは透明でなければならない。
- Persistence アイデンティティは永続的なものでなければならない。
- Portability IDに関する情報およびサービスは持ち運び可能でなければならない。
- Interoperability IDは可能な限り広く使用できなければならない。
- Consent IDを使用するときに本人が同意しなければならない。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[default] | |
strategy = static | |
base_fee_msat = 0 | |
fee_ppm = 0 | |
max_htlc_msat_ratio = 1 | |
[private] | |
# the channel is private - i assume you're not a routing node | |
# I will not limit the transaction size | |
chan.private = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Observable$ = of(1).pipe( | |
tap(console.log), | |
delayWhenLoading(isLoading = true) | |
); | |
Observable$.subscribe(); | |
const delayWhenLoading = <T>(isLoading: boolean, delayTime: number = defaultDelayTime): OperatorFunction<T, T> => { | |
return pipe( | |
delayWhen(() => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// return immediately empty if source response empty array. | |
// otherwise adding some functions. | |
const Emptialbe = <T>(source: Observable<T[]>, additional: Observable<T[]>) => { | |
source.pipe( | |
switchMap(array => { | |
if (array.length === 0) { | |
return of(array) | |
} else { | |
return additional(array) | |
} |
I hereby claim:
- I am studioteatwo on github.
- I am teatwo (https://keybase.io/teatwo) on keybase.
- I have a public key ASA5tRsvy3kVk1xAvkxWJbvn7qSxDUCmeMrdunfSl5SPvAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// library | |
type TransformFunction = (rawResponse: object) => object; | |
type TransformedEntity<T extends TransformFunction> = ReturnType<T | |
>; | |
// indivisual | |
function transform1(rawResponse: object) { | |
return { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @license Angular v6.0.0-beta.3-67cf712 | |
* (c) 2010-2018 Google, Inc. https://angular.io/ | |
* License: MIT | |
*/ | |
import { __assign, __extends } from 'tslib'; | |
import { Observable } from 'rxjs/Observable'; | |
import { merge } from 'rxjs/observable/merge'; | |
import { share } from 'rxjs/operator/share'; | |
import { Subject } from 'rxjs/Subject'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
namespace :json_params do | |
desc "create the definitions of json params" | |
task :generate => :environment do | |
# Custom Definitions | |
create('Session', "#{Rails.root}/app/controllers/params/session.rb", | |
nil, | |
{email: 'string', password: 'string'} |
NewerOlder