Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
noplan inc 勉強会(Foundryの紹介)
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Soma
September 24, 2022
Programming
75
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
noplan inc 勉強会(Foundryの紹介)
solidityの開発ツールキット "Foundry" の紹介
スマートコントラクト開発してみた所感
Soma
September 24, 2022
More Decks by Soma
See All by Soma
POAP (Proof Of Attendance Protocol)説明
somaseki
0
250
Other Decks in Programming
See All in Programming
APNsからLive Activityを開始する話
yumnumm
0
150
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.4k
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
13
6.2k
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
110
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
130
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
110
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
360
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
540
すこし踏み込む CancellationToken
htkym
2
1.6k
Security issues being discussed on Web Platforms
petamoriken
0
1.4k
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
440
Featured
See All Featured
Un-Boring Meetings
codingconduct
0
440
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.9k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
290
Being A Developer After 40
akosma
91
590k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
450
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
[SF Ruby Conf 2025] Rails X
palkan
3
1.4k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
440
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
How GitHub (no longer) Works
holman
316
150k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Transcript
noplan.inc 月末定例勉強会 Foundry (Solidity開発ツール) soma 2022/09/23
1. Foundryとは 2. 特徴 3. 比較(主にhardhatと) 4. 使ってみた所感 5. その他できること
6. まとめ Foundryは使えそうか? hardhatに取って代わるか? Agenda
1. Foundryとは - Rust製のSolidity開発ツールキット - Paradigm (Crypto系VC) が開発 - dapptoolsというsolidity開発ツールの影響受けている
2. 特徴 - コンパイル・テストが速い
2. 特徴 - fuzzing test - trace
3. 比較(主にhardhatと) - コンパイル・テストが速い 👍
- 言語切り替えのスイッチングコストない 👍 - await, bignumber, ethersjs or web3jsの知見 不要 -
便利な機能がネイティブ実装されている 👍 - fuzzing test - gas trace - 学習コスト少し高い 👎 - プラグイン少ない 👎 3. 比較(主にhardhatと)
4. 使ってみた所感 - コンパイルやテストがサクサク終わるので気持ち良い - テスト書くときの考え方 「フロント、ノードからコントラクト操作」というよりも「 VM直接いじっている」 - テスト・スクリプトのファイル名や関数名に命名規則がある個人的には好き
- testファイルは '.t.sol' - test関数名は 'test....' - script実行ファイルは '.s.sol'
5. その他できること - upgradeable contractの実装 - 実際のチェーンをローカルノードにフォークしてテスト - differential testing
etc.
6. まとめ - 開発体験良い(シンプルテスト速いしバグトレースしやすい - 既存のhardhatプロジェクトを置き換えるのは難しい - プラグインの少なさと使用者の少なさ、ネット上の記事の少ないので、業務で採用す るにはまだ早い 現状はhardhat使った開発が無難
将来的に取って代わるというより2強になる可能性ある
参考資料 https://book.getfoundry.sh https://qiita.com/oishun/items/808994e0aea83cf08d7b https://yamenmerhi.medium.com/foundry-vs-hardhat-918c55e47add https://zenn.dev/razokulover/articles/574eb471e6db1c