Skip to content

Commit 6d5173d

Browse files
committed
feat: add badges section with two badge explainers
1 parent cddfcfc commit 6d5173d

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

cspell/project-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,4 @@ voluptate
8282
untar
8383
NVME
8484
nextra
85+
Gelato

src/pages/general/badges.mdx

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Badges
2+
3+
## Welcome To Ink
4+
5+
> Awarded for bridging Ethereum to Ink.
6+
7+
To bridge Ethereum, you can use the `L1StandardBridge` on the sepolia network crafted for the Inkchain.
8+
9+
There are two ways to do it:
10+
11+
### Gelato Bridge app
12+
13+
The app provides a very simple UI to deposit or withdraw SepoliaETH from and to Sepolia Ink.
14+
15+
Here is the app: https://testnet-bridge.gelato.network/bridge/inkchain-testnet
16+
17+
Connect your wallet, select the amount to transfer, and that's it!
18+
19+
### Directly calling the contract
20+
21+
You can call the `bridgeETH` method in the contract here: https://sepolia.etherscan.io/address/0xC0d337f71aD19a8f17a1b297cDb3a86c5EEf9Eec#writeProxyContract
22+
23+
For instance, if you want to bridge 1 Sepolia ETH into 1 Sepolia "Ink" ETH:
24+
25+
1. Connect your Wallet using the "Connect to Web3" button
26+
2. Expand the `bridgeETH` method and enter `bridgeETH: 1`
27+
3. Enter `_minGasLimit: 1000` (or whatever suits you)
28+
4. Enter `_extraData: 0x00`
29+
5. Click "Write", then validate the transaction in MetaMask, then sign it to complete the transaction.
30+
31+
## Wrapped ETH
32+
33+
> Awarded for wrapping Ethereum into WETH.
34+
35+
To create Wrapped ETH tokens (WETH), you can interact with the `deposit` method in the contract here: https://sepolia-explorer.inkchain.xyz/token/0x03956fCdB1ad808EFBc34125A5d0c8495c69eA70?tab=write_contract
36+
37+
1. Connect your Wallet using the button
38+
2. Expand the `deposit` method and enter `Send native ETH: 10 000 000 000 000 000`.
39+
* This is equivalent to 0.01 ETH, adjust as needed
40+
3. Click "Write", then validate the transaction in MetaMask, then sign it to complete the transaction.
41+
42+
If you want the token to appear in MetaMask, click on the MetaMask button at the top of the page
43+
44+
## ERC20 Interactions
45+
46+
> Awarded for minting, sending, and receiving ERC20 tokens.
47+
48+
## NFT Interactions
49+
50+
> Awarded for minting, sending, and receiving NFTs.
51+
52+
## Faucet User
53+
54+
> Awarded for using the Ink faucet.
55+
56+
## Smart Contract Deployer
57+
58+
> Awarded for deploying a smart contract.

0 commit comments

Comments
 (0)