Skip to content
Merged
Show file tree
Hide file tree
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
15 changes: 15 additions & 0 deletions docs/getting-started/wallets/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Connect a Wallet

After building your first smart contract, you're ready to connect a browser wallet to interact with dApps on Cedra. Wallets let you manage your accounts, sign transactions, and interact with decentralized applications.

#### Cedra currently supports two wallets:

- **[Nightly Wallet Setup](/getting-started/wallets/nightly)** - Multi-chain wallet with 1M+ users
- **[Zedra Wallet Setup](/getting-started/wallets/zedra)** - Built specifically for Cedra

### What's Next?

Once you've set up your wallet:
- Import your testnet account from CLI (if you have one)
- Connect to dApps built on Cedra
- Explore the [TypeScript SDK](/sdks/typescript-sdk) for wallet integration in your apps
60 changes: 60 additions & 0 deletions docs/getting-started/wallets/nightly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Nightly Wallet

Nightly is a browser extension and mobile wallet that works with multiple chains including Cedra.

**Website:** [nightly.app](https://nightly.app)

1. Go to [nightly.app](https://nightly.app) and click **Download**
2. Pick your browser (Chrome, Firefox, Safari, or Edge)
3. Click **Add to Browser**

![Nightly Download Page](./screenshots/nightly-download.png)


## Create a wallet

1. Click the Nightly icon in your browser toolbar
2. Click **Create a new wallet**
3. Pick how you want to secure it:
- **Seed phrase** - you control everything
- **Social login** - easier setup, recovery depends on the service
4. Write down your 12 words somewhere safe
5. Confirm your recovery phrase

:::warning Keep your seed phrase safe
Anyone with your seed phrase can take your funds. Write it down on paper and store it offline.
:::

## Add Cedra network

1. Click the network selector at the top of the wallet
2. Search for **Cedra**
3. Pick **Cedra Testnet**

![Nightly Create Wallet](./screenshots/wallet.png)

## Import an existing account

Already have a Cedra account from the CLI? Import it:

1. Click **Import Wallet**
2. Choose **Private Key** or **Seed Phrase**
3. Paste your credentials

Export your private key from CLI:
```bash
cedra config show-private-key --profile default
```
Import it via Add New Wallet
![Nightly Create Wallet](./screenshots/import.png)

## Check it works

1. Switch to Cedra network
2. You should see your address (starts with `0x`)
3. On testnet, grab some tokens from the [faucet](/getting-started/faucet)

## Next steps

- Get testnet tokens from the [Faucet](/getting-started/faucet)
- See [wallet integration](/sdks/typescript-sdk) for connecting wallets to your dApp
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.
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.
49 changes: 49 additions & 0 deletions docs/getting-started/wallets/zedra.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Zedra Wallet

Zedra is a browser wallet made for Cedra.

1. Go to [zedra.app](https://zedra.app)
2. Click **Download** or **Install Extension**
3. Pick your browser and confirm

![Zedra Download Page](./screenshots/zedra-download.png)

### Create a wallet

1. Click the Zedra icon in your browser toolbar
2. Click **Create Wallet**
3. Set a password
4. Write down your 12 words somewhere safe
5. Confirm your recovery phrase

:::warning Keep your seed phrase safe
Anyone with your seed phrase can take your funds. Write it down on paper and store it offline.
:::

### Pick a network

1. Open Zedra
2. Click the network selector
3. Choose **Cedra Testnet**

## Import an existing account

Already have a Cedra account from the CLI? Import it:

1. Click **Import Wallet**
2. Enter your seed phrase or private key

Export your private key from CLI:
```bash
cedra config show-private-key --profile default
```

## Check it works

1. You should see your address (starts with `0x`)
2. On testnet, grab some tokens from the [faucet](/getting-started/faucet)

## Next steps

- Get testnet tokens from the [Faucet](/getting-started/faucet)
- See [wallet integration](/sdks/typescript-sdk) for connecting wallets to your dApp
20 changes: 20 additions & 0 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,26 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
label: 'Build a Counter Contract',
className: 'sidebar-badge-tutorial'
},
{
type: 'category',
label: 'Connect a Wallet',
link: {
type: 'doc',
id: 'getting-started/wallets/index',
},
items: [
{
type: 'doc',
id: 'getting-started/wallets/nightly',
label: 'Nightly Wallet'
},
{
type: 'doc',
id: 'getting-started/wallets/zedra',
label: 'Zedra Wallet'
}
]
},
{
type: 'category',
label: 'For Solidity Developers',
Expand Down