Skip to content

Commit 5787c16

Browse files
authored
feat: instructions on listing a new chain (#273)
* feat: instructions on listing a new chain feat: list admin and fees for Form feat: list fees on Chiliz feat: more requirements for custom deployments refactor: update wording in Custom Deployments docs: new section in README * feat: list berachain fee
1 parent bec0908 commit 5787c16

File tree

4 files changed

+50
-27
lines changed

4 files changed

+50
-27
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
This website contains all documentation for Sablier, including older protocol releases. It is built using
44
[Docusaurus](https://docusaurus.io/), a modern static website generator.
55

6-
## Installation
6+
## Commands
7+
8+
### Installation
79

810
```sh
911
$ bun install
1012
```
1113

12-
## Local Development
14+
### Local Development
1315

1416
```sh
1517
$ bun run start
@@ -18,7 +20,7 @@ $ bun run start
1820
This command starts a local development server and opens up a browser window. Most changes are reflected live without
1921
having to restart the server.
2022

21-
## Build
23+
### Build
2224

2325
```sh
2426
$ bun run build
@@ -27,7 +29,7 @@ $ bun run build
2729
This command generates static content into the `build` directory, and can be served using any static contents hosting
2830
service.
2931

30-
## Clear cache
32+
### Clear cache
3133

3234
```sh
3335
$ bun run clear

docs/concepts/10-governance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Here's a table with the admins of the Sablier Protocol. Most of them are Safe mu
2222
| BNB Smart Chain | [0x6666cA940D2f4B65883b454b7Bc7EEB039f64fa3](https://bscscan.com/address/0x6666cA940D2f4B65883b454b7Bc7EEB039f64fa3) |
2323
| Chiliz | [0xb1bEF51ebCA01EB12001a639bDBbFF6eEcA12B9F](https://chiliscan.com/address/0xb1bEF51ebCA01EB12001a639bDBbFF6eEcA12B9F) |
2424
| Core Dao | [0xb1bEF51ebCA01EB12001a639bDBbFF6eEcA12B9F](https://scan.coredao.org/address/0xb1bEF51ebCA01EB12001a639bDBbFF6eEcA12B9F) |
25+
| Form | [0xb1bEF51ebCA01EB12001a639bDBbFF6eEcA12B9F](https://explorer.form.network/address/0xb1bEF51ebCA01EB12001a639bDBbFF6eEcA12B9F) |
2526
| Gnosis | [0x72ACB57fa6a8fa768bE44Db453B1CDBa8B12A399](https://gnosisscan.io/address/0x72ACB57fa6a8fa768bE44Db453B1CDBa8B12A399) |
2627
| IoTeX | [0xb1bEF51ebCA01EB12001a639bDBbFF6eEcA12B9F](https://iotexscan.io/address/0xb1bEF51ebCA01EB12001a639bDBbFF6eEcA12B9F) |
2728
| LightLink | [0xb1bEF51ebCA01EB12001a639bDBbFF6eEcA12B9F](https://phoenix.lightlink.io/address/0xb1bEF51ebCA01EB12001a639bDBbFF6eEcA12B9F) |

docs/concepts/11-fees.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Airdrop campaigns created with earlier versions do not incur any claim fee.
8080

8181
:::tip[What is the fee?]
8282

83-
The fee is **$1** (in the gas token) per claim, regardless of the airdrop amount.
83+
The fee is ~**$1** (in the gas token) per claim, regardless of the airdrop amount.
8484

8585
:::
8686

@@ -91,10 +91,11 @@ The fee is **$1** (in the gas token) per claim, regardless of the airdrop amount
9191
| Arbitrum | ETH | 0.00036 ETH | 360000000000000 |
9292
| Avalanche | AVAX | 0.038491147 AVAX | 38491147000000000 |
9393
| Base | ETH | 0.00036 ETH | 360000000000000 |
94-
| Berachain | BERA | 0 BERA | 0 |
94+
| Berachain | BERA | 0.15385 BERA | 153850000000000000 |
9595
| Blast | ETH | 0.00036 ETH | 360000000000000 |
9696
| BNB Chain | BNB | 0.0017620835 BNB | 1762083500000000 |
97-
| Chiliz | CHZ | 0 CHZ | 0 |
97+
| Chiliz | CHZ | 9.29 CHZ | 9290000000000000000 |
98+
| Form | ETH | 0 ETH | 0 |
9899
| Gnosis | XDAI | 1 XDAI | 1000000000000000000 |
99100
| IoTeX | IOTX | 0 IOTX | 0 |
100101
| LightLink | ETH | 0 ETH | 0 |

docs/guides/04-custom-deployments.mdx

Lines changed: 39 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,47 @@ import { links } from "@site/src/constants";
99

1010
:::info[Reach Out]
1111

12-
We are unable to deploy the Sablier Protocol on every EVM chain. However, we would be happy to consider your project if
13-
you fill out this <Link href={links.forms.chains}>form</Link> and meet the requirements below.
12+
{/* prettier-ignore */}
13+
Want to get Sablier deployed on your chain? If you meet the requirements listed below, feel out this <Link href={links.forms.chains}>form</Link>
14+
and our team will get back to you.
1415

1516
:::
1617

1718
## Requirements
1819

19-
- Blockchain explorer with instructions for verifying contracts
20-
- Documentation site
21-
- Bridge, with instructions for how to obtain the native token (e.g., ETH) and ERC-20 tokens to the target chain
22-
- GraphQL solution, e.g., a deployment of [The Graph](https://thegraph.com/)
23-
- Functional JSON-RPC endpoint, ideally listed on [ChainList](https://chainlist.org/)
20+
The Sablier Interface currently supports only The Graph and Envio indexer services. If you use a different indexer, you
21+
can schedule a call <Link href={links.forms.call}>here</Link> to discuss integration.
2422

25-
:::warning[LEGAL]
23+
- [x] Blockchain explorer with instructions for verifying contracts
24+
- [x] Functional JSON-RPC endpoint, preferably listed on [ChainList](https://chainlist.org)
25+
- [x] GraphQL indexer: specifically, either [The Graph](https://thegraph.com) or [Envio](https://envio.dev)
26+
- [x] Bridge, and instructions for how to obtain gas tokens (e.g., ETH) and ERC-20 tokens to the target chain
27+
- [x] Foundry's [Deterministic Deployer](https://github.com/Arachnid/deterministic-deployment-proxy) contract at
28+
[`0x4e59b44847b379578588920cA78FbF26c0B4956C`](https://etherscan.io/address/0x4e59b44847b379578588920cA78FbF26c0B4956C)
29+
- [x] [Multicall3](https://github.com/mds1/multicall) contract at
30+
[`0xcA11bde05977b3631167028862bE2a173976CA11`](https://etherscan.io/address/0xcA11bde05977b3631167028862bE2a173976CA11)
2631

27-
The following guidelines apply to you ONLY IF you have you been granted a
28-
[BUSL license](https://app.ens.domains/license-grants.sablier.eth?tab=records) to deploy the protocol.
32+
## Making a Deployment
33+
34+
:::warning[NOTE]
35+
36+
The rest of the guide applies ONLY IF you have you been granted a
37+
[BUSL license](https://app.ens.domains/license-grants.sablier.eth?tab=records) to deploy the protocol. Otherwise, this
38+
section is not relevant to you.
2939

3040
:::
3141

32-
## Prerequisites
42+
### Prerequisites
3343

34-
- Check if the deployment is not already made on [your chain](/guides/lockup/deployments)
44+
- Check [here](/guides/lockup/deployments) if the deployment is not already made
3545
- Follow the contributing guides for [Lockup](https://github.com/sablier-labs/lockup/blob/main/CONTRIBUTING.md),
3646
[Airdrops](https://github.com/sablier-labs/airdrops/blob/main/CONTRIBUTING.md) and
3747
[Flow](https://github.com/sablier-labs/flow/blob/main/CONTRIBUTING.md).
3848
- RPC endpoint, e.g., a paid [Infura](https://www.infura.io/) or [Alchemy](https://www.alchemy.com/) account
39-
- Enough ETH in your deployer account
40-
- Etherscan API key (for source code verification)
49+
- Have enough ETH in your deployer account
50+
- Have an Etherscan API key (for source code verification)
4151

42-
## Lockup Deployment Guide
52+
### Lockup Deployment
4353

4454
#### Step 1: Clone the [Lockup repo](https://github.com/sablier-labs/lockup) and checkout to the `v2.0.0` tag
4555

@@ -114,7 +124,7 @@ forge script script/DeployProtocol.s.sol \
114124
If you are using a mnemonic or a hardware device for your deployer address, refer to `forge-script` page from
115125
[foundry book](https://book.getfoundry.sh/reference/forge/forge-script#forge-script) for different wallet options.
116126

117-
## Merkle Airdrops Deployment Guide
127+
### Merkle Airdrops Deployment
118128

119129
#### Step 1: Clone the [Merkle Airdrops repo](https://github.com/sablier-labs/airdrops) and checkout to `v1.3.0` tag
120130

@@ -189,7 +199,7 @@ forge script script/DeployMerkleFactory.s.sol \
189199
If you are using a mnemonic or a hardware device for your deployer address, refer to `forge-script` page from the
190200
[Foundry Book](https://book.getfoundry.sh/reference/forge/forge-script#forge-script).
191201

192-
## Flow Deployment Guide
202+
### Flow Deployment
193203

194204
#### Step 1: Clone the [Flow repo](https://github.com/sablier-labs/flow) and checkout to `v1.1.0` tag
195205

@@ -264,10 +274,19 @@ forge script script/DeployFlow.s.sol \
264274
If you are using a mnemonic or a hardware device for your deployer address, refer to `forge-script` page from
265275
[foundry book](https://book.getfoundry.sh/reference/forge/forge-script#forge-script) for different wallet options.
266276

267-
## Submit your deployment
277+
### List your deployment
268278

269-
After the contracts are deployed, submit the deployment details:
279+
After the contracts are deployed, you can submit your deployment like so:
270280

271-
1. Open a PR in the [docs repo](https://github.com/sablier-labs/docs) to add the deployment addresses.
281+
1. Open a PR in the [docs repo](https://github.com/sablier-labs/docs) by following the listing instructions below.
272282
2. Open a PR in the [deployments repo](https://github.com/sablier-labs/deployments) to add the broadcast file (JSON).
273283
You can find it in the `broadcast` directory.
284+
285+
#### Listing instructions
286+
287+
When listing a new chain, you need to update the following sections of this documentation site:
288+
289+
- Contract Deployments, e.g. for [Lockup](/guides/lockup/deployments)
290+
- API Endpoints, e.g. for [Lockup](/api/lockup/endpoints)
291+
- [Governance](/concepts/governance)
292+
- [Fees](/concepts/fees)

0 commit comments

Comments
 (0)