Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(starknet_wallet_setup.md): add starknet accounts #166

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion contracts/starknet_wallet_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,15 @@ Follow the steps below to set up a smart wallet using `starkli`:
1. **Initiate the account with the Open Zeppelin Account contract**:

```bash
starkli account oz init --keystore ~/.starkli-wallets/keystore.json ~/.starkli-wallets/account.json
starkli account <account-variant> init --keystore ~/.starkli-wallets/keystore.json ~/.starkli-wallets/account.json
```
The [current version of Starkli](https://book.starkli.rs/accounts) supports these account variants (by alphabetical order):

| Vendor | Identifier | Link |
|--------------|------------|-------------------------------------------------|
| Argent | argent | https://www.argent.xyz/argent-x/ |
| Braavos | braavos | https://braavos.app/ |
| OpenZeppelin | oz | https://github.com/OpenZeppelin/cairo-contracts |

2. **Deploy the account by running**:

Expand All @@ -72,6 +79,7 @@ Follow the steps below to set up a smart wallet using `starkli`:
For the deployment `starkli` will ask you to fund an account. To do so
you will need to fund the address given by `starkli`.
- In Goerli you can use [Goerli Starknet Faucet](https://faucet.goerli.starknet.io)

4. **Setting Up Environment Variables**: There are two primary environment
variables vital for effective usage of Starkli’s CLI. These are the location
of the keystore file for the Signer, and the location of the Account
Expand Down
Loading