Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
BBc-1 ハンズオン : さまざまな証明書の登録とその検証 / BBc-1 Hands on...
Search
beyond-blockchain.org
June 12, 2019
Technology
1
240
BBc-1 ハンズオン : さまざまな証明書の登録とその検証 / BBc-1 Hands on: Registry for Certificates and Verification
BBc-1 の開発中の共通ライブラリと汎用レジストリライブラリ、レッジャーサブシステム、および certificates.py サンプルアプリケーションを用いたチュートリアルのスライドです。
beyond-blockchain.org
June 12, 2019
Tweet
Share
More Decks by beyond-blockchain.org
See All by beyond-blockchain.org
BBc-2 ハンズオン さまざまな証明書の登録とその検証 / BBc-2 Hands-on Registration and Verification of Certificates
beyondblockchain
0
110
BBc-2 ハンズオン 基本インストール / BBc-2 hands-on Basic Installation
beyondblockchain
0
82
BBc-1 ハンズオン : RFID タグによる物流追跡 / BBc-1 Hands-on : Using RFID Tags for Logistics Tracking
beyondblockchain
0
80
BBc-1 ハンズオン : さまざまな証明書の登録とその検証(ウェブ版) / BBc-1 Hands on: Registry for Certificates and Verification (on Web)
beyondblockchain
0
180
BBc-1 ハンズオン : デジタル通貨の送金とスワップを通して学ぶBBc-1 トランザクション / BBc-1 Hands on: Digital Currency Transfer and Swap
beyondblockchain
2
400
BBc-1 ハンズオン : インストールとファイル内容証明 / BBc-1 Hands-on : Installation and File-content Proof
beyondblockchain
2
1.4k
BBc-1 ハンズオン : Ethereum によるレッジャーサブシステム / BBc-1 Hands-on : Ledger Subsystem with Ethereum
beyondblockchain
1
680
BBc トラスト / BBc Trust
beyondblockchain
1
170
BBc-1 設計文書 / BBc-1 (Beyond Blockchain One) Design Paper
beyondblockchain
0
150
Other Decks in Technology
See All in Technology
OTEPsで知るOpenTelemetryの未来 / Observability Conference Tokyo 2025
arthur1
0
320
戦えるAIエージェントの作り方
iwiwi
2
750
データとAIで明らかになる、私たちの課題 ~Snowflake MCP,Salesforce MCPに触れて~ / Data and AI Insights
kaonavi
0
120
CREが作る自己解決サイクルSlackワークフローに組み込んだAIによる社内ヘルプデスク改革 #cre_meetup
bengo4com
0
360
20251024_TROCCO/COMETAアップデート紹介といくつかデモもやります!_#p_UG 東京:データ活用が進む組織の作り方
soysoysoyb
0
130
Observability — Extending Into Incident Response
nari_ex
1
570
re:Invent 2025の見どころと便利アイテムをご紹介 / Highlights and Useful Items for re:Invent 2025
yuj1osm
0
340
[re:Inent2025事前勉強会(有志で開催)] re:Inventで見つけた人生をちょっと変えるコツ
sh_fk2
1
940
ざっくり学ぶ 『エンジニアリングリーダー 技術組織を育てるリーダーシップと セルフマネジメント』 / 50 minute Engineering Leader
iwashi86
6
3k
アウトプットから始めるOSSコントリビューション 〜eslint-plugin-vueの場合〜 #vuefes
bengo4com
3
1.8k
Behind Postgres 18: The People, the Code, & the Invisible Work | Claire Giordano | PGConfEU 2025
clairegiordano
0
150
パフォーマンスチューニングのために普段からできること/Performance Tuning: Daily Practices
fujiwara3
2
150
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Balancing Empowerment & Direction
lara
5
700
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
A designer walks into a library…
pauljervisheath
209
24k
Thoughts on Productivity
jonyablonski
71
4.9k
Optimizing for Happiness
mojombo
379
70k
Docker and Python
trallard
46
3.6k
Transcript
BBc-1
[email protected]
https://speakerdeck.com/beyondblockchain BBc-1 — — 2020-05-14 – p.1/21
BBc-1 ( ) ( ) BBc-1 BBc-1 — — 2020-05-14
– p.2/21
BBc-1 BBc-1 ( ) / (1) (2) (3) BBc-1 —
— 2020-05-14 – p.3/21
#JUDPJO ##D$PSF ϨοδϟʔαϒγεςϜ ΞϓϦέʔγϣϯ ͦ ͷ ଞ ͞ · ͟
· ͳ Ξ ϓ Ϧ ͷ Մ ೳ ੑ ڞ௨ϥΠϒϥϦ ##D ։ൃ߲  Ҭ ௨ ՟ Ξ ϓ Ϧ ϙ Π ϯ τ Ξ ϓ Ϧ དྷ ྺ ূ ໌ Ξ ϓ Ϧ ʜ ॳظʹ͓͍ͯଘࡏূ໌Λґଘ ΞϯΧϦϯά ֤ϊʔυʹ͓͚Δهʹ ֤छσʔλϕʔεΛར༻Մೳ TRMJUF.Z42-ͦͷଞ%# BBc-1 σδλϧ௨՟ϥΠϒϥϦ ͦͷଞͷϥΠϒϥϦ CCDMJC 1ZUIPO (P +4 FUD Bitcoin Ethereum ( ) (Proof of Context) ( ) ( ) BBc-1 — — 2020-05-14 – p.4/21
Python3 bbc1 : https://speakerdeck.com/beyondblockchain/bbc-1-hands-on-installation-and-file-content-proof : https://speakerdeck.com/beyondblockchain/bbc-1-hands-on-ledger-subsystem-with-ethereum bbc1-lib-std ( ) bbc1-lib-registry
( ) BBc-1 — — 2020-05-14 – p.5/21
GitHub git clone $ git clone -b develop https://github.com/beyond-blockchain/bbc1-lib-std.git $
cd bbc1-lib-std tar pip (Python ) $ python setup.py sdist $ pip install dist/bbc1-lib-std-0.19.tar.gz dist tar pip install BBc-1 — — 2020-05-14 – p.6/21
( SQLite3 ) ( ) ( ) ( ) (
) BBc-1 — — 2020-05-14 – p.7/21
GitHub git clone ( ) $ git clone -b develop
https://github.com/beyond-blockchain/bbc1-lib-registry.git $ cd bbc1-lib-registry tar pip (Python ) $ python setup.py sdist $ pip install dist/bbc1-lib-registry-0.6.tar.gz dist tar pip install bbc_core.py BBc-1 — — 2020-05-14 – p.8/21
(registry) XML XML , etc. BBc-1 — — 2020-05-14 –
p.9/21
certificates certificates BBc-1 — — 2020-05-14 – p.10/21
certificates certificates bbc1-lib-registry bbc-lib-std XML (= ) BBc-1 — —
2020-05-14 – p.11/21
certificates GitHub git clone $ git clone https://github.com/beyond-blockchain/examples.git $ cd
examples/certificates certificates.py BBc-1 BBc-1 — — 2020-05-14 – p.12/21
certificates certificates XML (< c/ > OK) <c> <id>000-000-0001</id> <name>Benjamin
B. Clark</name> <membership>Fujisawa Don Tacos</membership> <date>1559692800</date> <expires-at>1906773886</expires-at> </c> ( < set/ > < c/ > ) id : (bbc1-lib-registry ) digest : SHA-256 date : (Unix ) BBc-1 — — 2020-05-14 – p.13/21
( ) ূ໌ ॻ ূ໌ ॻ ূ໌ ॻ
ূ໌ ॻ ূ໌ ॻ O μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ حͷ߹ ෳ͢Δ ɾূ໌ॻ Λड͚औͬͨ " ࢯɺಉ࣌ʹϒϧʔͰࣔ͞ΕΔμΠδΣετͱͦΕ͕ࠨӈͷͲͪΒʹҐஔ͢Δ͔Λड͚औΔɻ ɾ" ࢯূ໌ॻ ͷμΠδΣετ͔Β࢝Ίͯɺ࿈͖݁͢Ұ࿈ͷμΠδΣετΛΔ͜ͱʹͳΔͷͰɺϚʔΫϧϧʔτʹࢸΔ·Ͱͷ ɹܭࢉΛ࠶ݱͰ͖ɺಘΒΕͨϚʔΫϧϧʔτ͕ &UIFSFVN εϚʔτίϯτϥΫτʹه͞Ε͍ͯΔͱҰக͢Δ͜ͱΛ֬ೝͰ͖Δɻ ɾͦͷܭࢉΛߦ͢Δͷ͕DFSU@qBTLQZͷαʔϏε ݪཧͷཧղͱඞཁͳใ͕͋Ε୭Ͱ࠶ݱͰ͖Δ ূ໌͞ΕΔ ɻ ه͢Δ ಡΈग़ͤΔ ূ໌Λ ඞཁͱ͢Δऀʹ ։ࣔ͞ΕΔใ ˞##Dɺ͜ͷߏΛอଘ ɹ͍ͯ͠Δ͕ɺαϒπϦʔΛ ɹ63- Խͯͨ͠͠ޙɺ ɹূ໌͢Δ্Ͱ##D ෆཁ ެ։͞ΕΔใ ϚʔΫϧϧʔτ Ϛ ồ Ϋ ϧ  γ ε ς Ϝ ͕ อ  ͠ ֤ Ϣ ồ β ʹ ෦  త ʹ  ͑ Δ ʜʜ ʜʜ ʜʜ ʜʜ ʜʜ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ &UIFSFVNϒϩοΫνΣʔϯ ʜ ʜ ##DϥΠϒϥϦ ূ໌ॻΞϓϦͰ࣮ݱ BBc-1 — — 2020-05-14 – p.14/21
(1) $ python certificates.py --help ( ) (bbc_core.py ) $
python certificates.py new_domain domain id “./.bbc1_app_support” BBc-1 — — 2020-05-14 – p.15/21
(2) bbc_core.py $ eth_subsystem_tool.py -w ∼/.bbc1 -d config_tree 100 30
100 30 BBc-1 bbc_core.py $ eth_subsystem_tool.py -w ∼/.bbc1 -d enable BBc-1 — — 2020-05-14 – p.16/21
“sample-m.xml” ( 2 ) $ python certificates.py -w ∼/.bbc1 -d
-m register sample-m.xml -m 30 $ python certificates.py -w ∼/.bbc1 -d -m verify sample-m.xml 2>/dev/null Ethereum “sample-m.xml” ( $ git checkout sample-m.xml ) BBc-1 — — 2020-05-14 – p.17/21
(1) $ python certificates.py -w ∼/.bbc1 -d -m query sample-m.xml
“certificate=” cert_flask.py “cert/cert_flask.py” S_CONTRACT_ADDRESS BBc-1 — — 2020-05-14 – p.18/21
(2) $ python index.py localhost:5000 localhost:5000/cert/?certificate= . . . &subtree=
. . . URL BBc-1 — — 2020-05-14 – p.19/21
XML ( ) BBc-1 — — 2020-05-14 – p.20/21
BBc-1 certificates.py cert_flask.py bbc1-lib-registry bbc1-lib-std BBc-1 — — 2020-05-14 –
p.21/21