Skip to content

Commit 9e3f8ce

Browse files
committed
Heading changes
1 parent 92c4e26 commit 9e3f8ce

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

builder-cookbook/filecoin-pin/filecoin-pin-cli.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ description: How to use the Filecoin Pin CLI to store and retrieve IPFS data on
44

55
# Filecoin Pin CLI
66

7-
### Get Started Now
7+
## Get Started Now
88

9-
#### 1. Setup Payments
9+
### 1. Setup Payments
1010

1111
Configure permissions for automatic payment handling:
1212

1313
<figure><img src="../../.gitbook/assets/1 (2).png" alt=""><figcaption></figcaption></figure>
1414

15-
#### 2. Upload Data
15+
### 2. Upload Data
1616

1717
Upload your file with automatic funding:
1818

1919
<figure><img src="../../.gitbook/assets/2 (2).png" alt=""><figcaption></figcaption></figure>
2020

21-
#### 3. Retrieve over an IPFS Gateway
21+
### 3. Retrieve over an IPFS Gateway
2222

2323
Retrieve your data using the IPFS gateway:
2424

2525
<figure><img src="../../.gitbook/assets/3 (2).png" alt=""><figcaption></figcaption></figure>
2626

27-
#### 4. Prove Storage
27+
### 4. Prove Storage
2828

2929
Verify your data is stored with cryptographic proofs:
3030

@@ -34,17 +34,17 @@ Verify your data is stored with cryptographic proofs:
3434

3535
> NOTE! For demo purposes, I have created a THROWAWAY PRIVATE KEY. **NEVER USE YOUR PRIVATE KEY IN A REPOSITORY OR EXPOSE IT**. The repo references using your private key LOCALLY as an ENV VARIABLE. When you create a GITHUB ACTION, use GITHUB SECRETS to store your private key.
3636
37-
### Who is this for
37+
## Who is this for
3838

3939
1. Existing IPFS developers who want to use Filecoin to persist their data
4040
2. Technical users who want to use GitHub Actions to automate deployment of IPFS Files onto decentralized storage
4141
3. Agent builders that want to store their agent cards and validation materials on Filecoin for cryptographic proof of storage
4242

4343
***
4444

45-
### Prerequisites
45+
## Prerequisites
4646

47-
#### Install Required Tools
47+
### Install Required Tools
4848

4949
```bash
5050
# Install Node.js 22+ (required for filecoin-pin)
@@ -68,7 +68,7 @@ curl -L https://foundry.paradigm.xyz | bash
6868
foundryup
6969
```
7070

71-
#### Verify Installation
71+
### Verify Installation
7272

7373
```bash
7474
filecoin-pin --version
@@ -86,11 +86,11 @@ cast --version
8686

8787
***
8888

89-
### Part 0: Wallet Setup from Scratch
89+
## Part 0: Wallet Setup from Scratch
9090

9191
> **Note**: The `filecoin-pin` CLI expects a `PRIVATE_KEY` environment variable. This section shows initial setup.
9292
93-
#### Step 0.1: Generate a New Wallet
93+
### Step 0.1: Generate a New Wallet
9494

9595
Generate wallet using Foundry:
9696

@@ -100,15 +100,15 @@ cast wallet new
100100

101101
Save the private key and wallet address.
102102

103-
#### Step 0.2: Get Testnet FIL
103+
### Step 0.2: Get Testnet FIL
104104

105105
Get 100 tFIL from ChainSafe faucet (requires browser):
106106

107107
```bash
108108
open "https://faucet.calibnet.chainsafe-fil.io/funds.html"
109109
```
110110

111-
#### Step 0.3: Get USDFC Stablecoin
111+
### Step 0.3: Get USDFC Stablecoin
112112

113113
1. [Setup MetaMask with Filecoin Calibration](https://docs.filecoin.io/basics/assets/metamask-setup) (1-click import available)
114114
2. Import your private key to MetaMask
@@ -119,7 +119,7 @@ Final state: \~2 tFIL (gas) + 200 USDFC (storage payments)
119119

120120
***
121121

122-
#### Step 0.4: Create Environment File
122+
### Step 0.4: Create Environment File
123123

124124
> I put my private key on this repo for DEMO purposes. It is a TESTNET KEY. **NEVER USE YOUR PRIVATE KEY IN A REPOSITORY OR EXPOSE IT**.
125125
@@ -143,7 +143,7 @@ echo "RPC URL: $RPC_URL"
143143

144144
***
145145

146-
### Step 1: Setup Payments
146+
## Step 1: Setup Payments
147147

148148
All commands in this section use the environment variables set in Part 0 (Step 0.4). If you're starting a new terminal session, reload them:
149149

@@ -165,7 +165,7 @@ filecoin-pin payments setup --auto
165165
166166
***
167167

168-
#### Step 2: Upload Data
168+
### Step 2: Upload Data
169169

170170
Use `--auto-fund` flag to automatically handle payment deposits (v0.7.0+).
171171

@@ -192,7 +192,7 @@ filecoin-pin add demo.txt
192192

193193
***
194194

195-
#### Step 4b: Upload Directory
195+
### Step 4b: Upload Directory
196196

197197
Package multiple files into a single CAR:
198198

@@ -218,7 +218,7 @@ filecoin-pin add --auto-fund my-data/
218218
219219
***
220220

221-
#### Step 5: Prove Storage
221+
### Step 5: Prove Storage
222222

223223
Get detailed information about a specific data set (this queries the blockchain directly) that includes proofs:
224224

@@ -305,7 +305,7 @@ Data set inspection complete
305305

306306
> 💡 **Note**: This command queries the smart contracts on-chain to retrieve all data set information. The data shown is live blockchain state, not cached data.
307307
308-
#### Links
308+
### Links
309309

310310
* FAQ: [Frequently Asked Questions](faq.md)
311311
* Filecoin Pin Docs: [https://docs.filecoin.io/builder-cookbook/filecoin-pin](https://docs.filecoin.io/builder-cookbook/filecoin-pin)

builder-cookbook/filecoin-pin/pin-dapp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Filecoin storage providers submit cryptographic proofs regularly onchain to prov
9999

100100
That is it - you now have a dapp with a drag-and-drop interface to store IPFS Files on Filecoin!
101101

102-
# Next Steps
102+
## Next Steps
103103

104104
1. Check back on the [filecoin-pin-website repo](https://github.com/filecoin-project/filecoin-pin-website) - it will continue to be updated as new functionality is brought to filecoin-pin.
105105
2. Feel free to report any issues with the dApp demo to https://github.com/filecoin-project/filecoin-pin-website/issues

0 commit comments

Comments
 (0)