-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: initial profile and free RPC vendors support
Changes what `--network` (or `STARKNET_NETWORK`) does: previously it's for using the sequencer gateway provider, but now it's for selecting a network in a profile. Yes, there's now initial profile support. Users can now define custom networks in their profiles and simply use the network with `--network`. The support is quite barebone and only allows defining networks. More features to be added soon (e.g. account shorthands, address books). In order to maintain backward compatibility, `--network` still works with `mainnet`, `goerli`, `sepolia` (and their aliases). Under the hood, a random free RPC vendor is selected and persisted to the default profile. This allows users to get started with a public network without having to set up RPC, maintaining the same zero-setup experience as with the previous sequencer gateway support.
- Loading branch information
1 parent
8c5cd79
commit 27402da
Showing
28 changed files
with
657 additions
and
131 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -14,6 +14,7 @@ mod decode; | |
mod fee; | ||
mod network; | ||
mod path; | ||
mod profile; | ||
mod provider; | ||
mod signer; | ||
mod subcommands; | ||
|
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
Oops, something went wrong.