Skip to content

Commit

Permalink
Type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperGops7 committed Dec 11, 2021
1 parent 8054ab3 commit ec7f5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LEARN.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Add the following lines inside the ’try’ block.
const connection = new Connection(clusterApiUrl("devnet"), "confirmed");
```

Creates a connection object that’ll be used to get the balance. Apart from the main network (called mainnet), Solana also maintains clusters called devnet and testnet. Devnet is the replica of the Solana’s mainnet, and serves as a playground for anyone who wants to try out the features of Solana. `clusterApuIrl` provides us the URL for devnet that we’ll be passing to create our connection object so that we get details of devnet.
Creates a connection object that’ll be used to get the balance. Apart from the main network (called mainnet), Solana also maintains clusters called devnet and testnet. Devnet is the replica of the Solana’s mainnet, and serves as a playground for anyone who wants to try out the features of Solana. `clusterApiUrl` provides us the URL for devnet that we’ll be passing to create our connection object so that we get details of devnet.
Next, we’ll create a wallet object from the `secretKey`. Type the following command

```
Expand Down

0 comments on commit ec7f5ca

Please sign in to comment.