情報開発と利活用

情報開発と利活用

PR

×

Profile

令和維新

令和維新

Category

カテゴリ未分類

(112)

連絡

(24)

交流会

(27)

セミナー

(29)

参考情報

(138)

オフ会

(36)

on-line報告会

(13)

翻訳ビジネス

(8)

情報開発

(270)

ビッグデータ

(84)

ブロックチェーン

(243)

人工知能

(488)

IOT

(297)

仮想通貨

(844)

コンテンツ

(123)

政治経済

(1871)

先端技術

(956)

DITA

(50)

テレワーク

(28)

UX

(0)

文書管理

(8)

テクニカルライテイング

(17)

学習

(9)

訓練

(1)

XMLソリューション

(3)

メタバース

(99)

Web3

(66)

投資

(179)

IoT

(32)

投資信託

(1)

ビットコイン

(762)

イーサリアム

(155)

NFT

(41)

オンライン

(0)

受動収入

(14)

ソーシャルメデイア

(0)

DAO

(2)

DeFi

(74)

暗号通貨

(168)

トークノミクス

(21)

アルトコイン

(223)

空中投下

(16)

スマート契約

(4)

ステーブルコイン

(42)

(5)

生成AI

(5)

SCM

(4)

ウオレット

(9)

不労所得

(57)

セキュリテイ

(4)

ミームコイン

(50)

CBDC

(5)

PoS

(3)

PoW

(1)

ETF

(12)

仮想通貨ETF

(1)

予言

(7)

裁定取引

(1)

GameFi

(5)

マイニング

(9)

RWA

(21)

DePIN

(18)

SWFT

(1)

WLFI

(1)

アービトラージ

(7)

XRP

(57)

大統領選

(4)

BCH

(1)

取引ボット

(17)

トレーデイング

(24)

不動産

(1)

詐欺

(4)

貿易戦争

(1)

医療

(1)

金融

(2)

TEZOS

(1)

CARDANO

(2)

カルダーノ

(3)

ステーキング

(5)

チェーンリンク

(1)

開発

(0)

HEDERA

(1)

スマートマネー

(0)

流動性

(0)

AIエージェント

(8)

401k

(1)

国際送金

(1)

solano

(1)

AI

(1)

暗号資産

(46)

機関投資家

(2)

Keyword Search

▼キーワード検索

Shopping List

お買いものレビューがまだ書かれていません。
2022.06.16
XML
カテゴリ: ブロックチェーン

Operations
オペレーション

The different wallet classes are derived from a common  Wallet  base class which provides a standard set of APIs to manage identities. It means that applications can be made independent of the underlying wallet storage mechanism; for example, File system and HSM wallets are handled in a very similar way.
異なった財布クラスは身元を管理するために  API  の標準セットを提供する 共通の財布ベース クラスから得られます。 それはアプリケーションが基礎をなす財布記憶保持メカニズムから独立させられ得ることを意味します;例えば、ファイルシステムと  HSM  の財布が極めて類似した方法で取り扱われます。



Wallets follow a lifecycle: they can be created or opened, and identities can be read, added, deleted, and exported.
財布はライフサイクルをたどる:それらは作るか、あるいは開くことができ、そして身元が読まれ、加えられ、削除され、そして取り出すことができます。

An application can use a wallet according to a simple lifecycle. Wallets can be opened or created, and subsequently, identities can be added, read, updated, deleted, and exported. Spend a little time on the different  Wallet  methods in the  JSDOC  to see how they work; the commercial paper tutorial provides a nice example in  addToWallet.js :
アプリケーションは単純なライフサイクルに従って財布を使うことができます。 財布は開くか、あるいは作成することができ、そしてその後身元が加えられ、読まれ、更新され、削除され、そして取り出すことができます。それらがどのように働くか見るため JSDOC  の異なる財布メソッドについて少々時間を費やしてください;商業手形チュートリアルは addToWallet.js  のすてきな例を供給します:

const wallet = new FileSystemWallet ( '../identity/user/isabella/wallet' );

構築 財布 = 新しい ファイルシステム財布 ('../ 身元 / 利用者 / イザベラ / 財布 ') 

const cert = fs . readFileSync ( path . join ( credPath , '.../User1@org1.example.com-cert.pem' )). toString ();

構築  cert    fs. ファイル同期を読み込み(パス .join  credPath  、「・・・  / 利用者 1@ 組織 1. .com-cert.pem')).toString() 

const key = fs . readFileSync ( path . join ( credPath , '.../_sk' )). toString ();

構築 キー=  fs. ファイル同期読み込み(パス .join  credPath
、「...  / - sk 」))  .toString () 

const identityLabel = 'User1@org1.example.com' ;

構築 身元ラベル = 「利用者 1@ 組織 1. .com 」;

const identity = X509WalletMixin . createIdentity ( 'Org1MSP' , cert , key );

構築 身元 =  X509 財布 Mixin. 身元作成 (「組織 1MSP 」、 cert 、キー);

await wallet . import ( identityLabel , identity );

財布 . 取り込み (身元ラベル 、身元)を待ち受け;

Notice how:
下記がどのようか注目すること:

· When the program is first run, a wallet is created on the local file system at  .../isabella/wallet .
プログラムが最初に走らせられるとき、財布は .../ イサベラ / 財布のローカルファイルシステムで作成されます。

· a certificate  cert  and private  key  are loaded from the file system.
証明書 cert と 秘密キーはファイルシステムから装填されます。

· a new identity is created with  cert key  and  Org1MSP   using  X509WalletMixin.createIdentity() .
新しい身元は X509WalletMixin.createIdentity () 使って作成された
cert  、 キーと組織 1MSP で作成されます。

· the new identity is imported to the wallet with  wallet.import()  with
a label 
User1@org1.example.com .
新しい身元は ラベル利用者 1@ 組織 1. .com  を伴う財布 . 取り込み  () で財布に取り込まれます。

That’s everything you need to know about wallets. You’ve seen how they hold identities that are used by applications on behalf of users to access Fabric network resources. There are different types of wallets available depending on your application and security needs, and a simple set of APIs to help applications manage wallets and the identities within them.
以上が財布についてあなたが知る必要があるすべてです。 あなたはそれらがどのようにファブリックネットワーク資源にアクセスするため利用者の代わりにアプリケーションによって使われる身元を保持するか見てきました。あなたのアプリケーションとセキュリティーの必要に依存して利用可能な財布の異なったタイプがあります。そして、  API  の単純なセットによってアプリケーションがそれらの中で財布と身元を管理するのに役立ちます。

=========================

インターネット・コンピュータランキング
========================= ネットサービスランキング
=========================

[商品価格に関しましては、リンクが作成された時点と現時点で情報が変更されている場合がございます。]

Xbox Series S
価格:32978円(税込、送料無料)  (2022/6/2時点)


[商品価格に関しましては、リンクが作成された時点と現時点で情報が変更されている場合がございます。]

ニコン D5600 ダブルズームキット
価格:89800円(税込、送料無料)  (2022/6/2時点)


</table5



=========================

インターネット・コンピュータランキング
========================= ネットサービスランキング
=========================


[商品価格に関しましては、リンクが作成された時点と現時点で情報が変更されている場合がございます。]

Xbox Series S
価格:32978円(税込、送料無料)  (2022/6/2時点)


[商品価格に関しましては、リンクが作成された時点と現時点で情報が変更されている場合がございます。]

ニコン D5600 ダブルズームキット
価格:89800円(税込、送料無料)  (2022/6/2時点)







お気に入りの記事を「いいね!」で応援しよう

Last updated  2022.06.17 05:38:57
コメント(0) | コメントを書く


【毎日開催】
15記事にいいね!で1ポイント
10秒滞在
いいね! -- / --
おめでとうございます!
ミッションを達成しました。
※「ポイントを獲得する」ボタンを押すと広告が表示されます。
x
X

© Rakuten Group, Inc.
X
Design a Mobile Site
スマートフォン版を閲覧 | PC版を閲覧
Share by: