Skip to content

Commit 1ae7cd2

Browse files
authored
Document new Remix plugin (#31)
1 parent 0834139 commit 1ae7cd2

File tree

3 files changed

+23
-17
lines changed

3 files changed

+23
-17
lines changed

docs/3. Verification/1.howToVerify.mdx

+23-17
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ forge verify-contract 0x55f7d4279CE387067f12561e7E0c194f5186cFba \
4646
```
4747

4848
Check if a contract is verified
49+
4950
```
5051
forge verify-check 0x55f7d4279CE387067f12561e7E0c194f5186cFba \
5152
--chain-id 11155111 \
@@ -108,42 +109,47 @@ $ truffle run verify MyFirstContract MySecondContract --network goerli
108109

109110
## Remix Plugin
110111

111-
Sourcify has a remix plugin to aid with contract verification and lookup.
112-
The plugin can be found in this repository [https://github.com/sourcifyeth/remix-sourcify](https://github.com/sourcifyeth/remix-sourcify)
112+
Remix has a plugin to aid with contract verification and lookup.
113+
Please click this link to activate the plugin in Remix: [https://remix.ethereum.org/?#activate=contract-verification](https://remix.ethereum.org/?#activate=contract-verification)
113114

114115
### Verifying
115116

116117
To verify:
117118

118119
1. Select the contract you want to verify in the file explorer
119120
2. Compile the contract
120-
3. Click on the Sourcify icon on the plugin manager
121+
3. Click on the Contract Verification icon on the left sidebar
121122
4. Enter the chain and the address of the contract you want to verify
122-
5. Click on Verify
123+
5. Select the contract you just compiled
124+
6. Make sure Sourcify is selected
125+
7. Click on Verify
123126

124-
[![Verifier](https://cdn.loom.com/sessions/thumbnails/b203977174b3444ea5b223ae45250580-with-play.gif)](https://www.loom.com/share/b203977174b3444ea5b223ae45250580 "Verifier")
127+
<div>
128+
<video width="100%" height="100%" playsinline autoplay muted controls>
129+
<source src="/videos/remix-verify.mp4" type="video/mp4" />
130+
</video>
131+
</div>
125132

126133
### Fetching
127134

128-
You can also "fetch" contracts that are verified on Sourcify into your Remix IDE.
135+
You can also check if contracts are verified on Sourcify and download their source code into your Remix IDE.
129136
To fetch:
130137

131-
1. Click on the Sourcify icon on the plugin manager
132-
2. Enter the chain and the address of the contract you want to fetch
133-
3. Click on Fetch
138+
1. Click on the Contract Verification icon on the left sidebar
139+
2. Select "Lookup" on the top of the plugin view
140+
3. Enter the chain and the address of the contract you want to fetch
141+
4. Click on "Open in Remix" below the Sourcify status
134142

135143
The contract files will be saved in the file explorer.
136144

137-
[![Fetcher](https://cdn.loom.com/sessions/thumbnails/5b6cb81a9fae4dd1ad3cee6a1e658af1-with-play.gif)](https://www.loom.com/share/5b6cb81a9fae4dd1ad3cee6a1e658af1 "Fetcher")
138-
139-
### Installation
140-
141-
1. Navigate to the Remix Plugin manager
142-
2. Search for `Sourcify` and click on Activate when you see it.
143-
3. Another option would be to click on the Sourcify logo on Remix Homepage to activate the plugin
145+
<div>
146+
<video width="100%" height="100%" playsinline autoplay muted controls>
147+
<source src="/videos/remix-lookup.mp4" type="video/mp4" />
148+
</video>
149+
</div>
144150

145151
## Other Sourcify wrappers and tools
146152

147153
- [sourcify-go](https://github.com/unpackdev/sourcify-go)
148154

149-
Do you have a tool to be listed? Let us know!
155+
Do you have a tool to be listed? Let us know!

static/videos/remix-lookup.mp4

1.06 MB
Binary file not shown.

static/videos/remix-verify.mp4

1.71 MB
Binary file not shown.

0 commit comments

Comments
 (0)