This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: Add instructions for getting SEPOLIA tokens
- Loading branch information
Showing
5 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# How to get SEPOLIA tokens | ||
|
||
## Introduction | ||
|
||
At the time of writing, there is no active Sepolia faucets live yet in Straknet. | ||
So the process involves getting SEPOLIA tokens in the **Ethereum** Sepolia testnet and then bridging them to the Starknet Sepolia testnet. | ||
|
||
## 1. Get SEPOLIA tokens in the Ethereum Sepolia testnet | ||
|
||
To get $ETH in the Ethereum Sepolia testnet, you can use: | ||
|
||
1. [Alchemy's Sepolia faucet](https://sepoliafaucet.com/). | ||
2. [Infura's Sepolia faucet](https://www.infura.io/faucet/sepolia). | ||
|
||
This is straightforward, just login, paste your Ethereum Sepolia testnet address and click on the "Send me $ETH" button. | ||
|
||
## 2. Bridge your $ETH to Starknet Sepolia testnet | ||
|
||
Now, this step is a bit more complicated. You will need to head to the [Bridge Contract](https://sepolia.etherscan.io/address/0x8453FC6Cd1bCfE8D4dFC069C400B433054d47bDc#writeProxyContract). | ||
|
||
<img alt="Activate the Starknet Plugin" src="img/ch02-05-01-bridge-sepolia.png" class="center" style="width: 100%;" /> | ||
|
||
Connect your wallet where you have your $ETH and then open the function number 4 `deposit (0xe2bbb158)` | ||
|
||
### Specify the parameters | ||
|
||
Now for the fields specify: | ||
|
||
- `deposit`: The amount of ETH to deposit **plus** a bit of gas. Would be something like this `x + 0.001 ETH`. (Ex: 0.031) | ||
- `amount`: The amount of $ETH you want to bridge to Starknet in **uint256** format. In this case, `0.03 ETH` would be `30000000000000000` (16 decimals). | ||
|
||
```bash | ||
1 ETH = 1000000000000000000 (18 decimals) | ||
``` | ||
|
||
- `l2Recipient`: The address of your Starknet Sepolia testnet account. | ||
|
||
<img alt="Activate the Starknet Plugin" src="img/ch02-05-01-deposit-bridge-starknet.png" class="center" style="width: 100%;" /> | ||
|
||
Then just click on the "Write" button and confirm the transaction in your wallet. | ||
|
||
## [Optional] Deploy your wallet | ||
|
||
If this is the first time using your wallet in the Starknet Sepolia testnet just go to your ArgentX or Braavos wallet and send some of the ETH you bridged to **another starknet wallet** and it will be deployed automatically. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.