Skip to content

Commit

Permalink
feat: added playground type error callout
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfrosty committed Dec 13, 2023
1 parent dcf26df commit 9a2ae11
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/guides/token-extensions/mint-close-authority.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ console.log(`My balance: ${balance / web3.LAMPORTS_PER_SOL} SOL`);
If it is your first time using Solana Playground, you'll first need to create a
Playground Wallet and fund the wallet with devnet SOL.

<Callout type="info">

If you do not have a Playground wallet, you may see a type error within the
editor on all declarations of `pg.wallet.publicKey`. This type error will clear
after you create a Playground wallet.

</Callout>

To get devnet SOL, run the `solana airdrop` command in the Playground's
terminal, or visit this [devnet faucet](https://faucet.solana.com/).

Expand Down
8 changes: 8 additions & 0 deletions content/guides/token-extensions/permanent-delegate.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ console.log(`My balance: ${balance / web3.LAMPORTS_PER_SOL} SOL`);
If it is your first time using Solana Playground, you'll first need to create a
Playground Wallet and fund the wallet with devnet SOL.

<Callout type="info">

If you do not have a Playground wallet, you may see a type error within the
editor on all declarations of `pg.wallet.publicKey`. This type error will clear
after you create a Playground wallet.

</Callout>

To get devnet SOL, run the `solana airdrop` command in the Playground's
terminal, or visit this [devnet faucet](https://faucet.solana.com/).

Expand Down
8 changes: 8 additions & 0 deletions content/guides/token-extensions/required-memo.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ console.log(`My balance: ${balance / web3.LAMPORTS_PER_SOL} SOL`);
If it is your first time using Solana Playground, you'll first need to create a
Playground Wallet and fund the wallet with devnet SOL.

<Callout type="info">

If you do not have a Playground wallet, you may see a type error within the
editor on all declarations of `pg.wallet.publicKey`. This type error will clear
after you create a Playground wallet.

</Callout>

To get devnet SOL, run the `solana airdrop` command in the Playground's
terminal, or visit this [devnet faucet](https://faucet.solana.com/).

Expand Down
8 changes: 8 additions & 0 deletions content/guides/token-extensions/transfer-fee.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ console.log(`My balance: ${balance / web3.LAMPORTS_PER_SOL} SOL`);
If it is your first time using Solana Playground, you'll first need to create a
Playground Wallet and fund the wallet with devnet SOL.

<Callout type="info">

If you do not have a Playground wallet, you may see a type error within the
editor on all declarations of `pg.wallet.publicKey`. This type error will clear
after you create a Playground wallet.

</Callout>

To get devnet SOL, run the `solana airdrop` command in the Playground's
terminal, or visit this [devnet faucet](https://faucet.solana.com/).

Expand Down

0 comments on commit 9a2ae11

Please sign in to comment.