Skip to content

Commit 258b080

Browse files
[Add] - Foundry guide to SCs (#727)
* add foundry wip * foundry wip * fix: foundry guide * fix: adding foundry admonition for anvil and forge test * fix: intro for overview + short foundry def * Apply suggestions from code review Co-authored-by: Dawn Kelly <[email protected]> * fix: llms --------- Co-authored-by: Dawn Kelly <[email protected]>
1 parent 8953eb5 commit 258b080

File tree

5 files changed

+1018
-0
lines changed

5 files changed

+1018
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<div id="termynal" data-termynal>
2+
<span data-ty="input"><span class="file-path"></span>forge inspect Counter bytecode --resolc</span>
3+
<span data-ty>0x50564d00008213000000000000010700c13000c0008004808f08000000000e0000001c0000002a0000003500000040000000520000005d00000063616c6c5f646174615f636f707963616c6c5f646174615f6c6f616463616c6c5f646174615f73697a65676574...</span>
4+
</div>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div id="termynal" data-termynal>
2+
<span data-ty="input"><span class="file-path"></span>forge create Counter &bsol;</span>
3+
<span data-ty>&nbsp;&nbsp;--rpc-url https://testnet-passet-hub-eth-rpc.polkadot.io &bsol;</span>
4+
<span data-ty>&nbsp;&nbsp;--private-key &lt;INSERT_PRIVATE_KEY&gt; &bsol;</span>
5+
<span data-ty>&nbsp;&nbsp;--resolc</span>
6+
<br />
7+
<span data-ty>[:] Compiling...</span>
8+
<span data-ty>Compiler run successful!</span>
9+
</div>

develop/smart-contracts/dev-environments/.pages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ nav:
33
- index.md
44
- 'Remix IDE': remix.md
55
- 'Hardhat': hardhat.md
6+
- 'Foundry': foundry.md

0 commit comments

Comments
 (0)