https://github.com/kayleexx/solana-keypairs
https://github.com/kayleexx/solana-keypairs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kayleexx/solana-keypairs
- Owner: Kayleexx
- Created: 2023-08-21T17:59:46.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T18:30:16.000Z (almost 3 years ago)
- Last Synced: 2023-08-21T19:37:09.982Z (almost 3 years ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solana Keypairs Assignment
This project is part of the assignment given by MetaCrafters. The goal is to create a Solana keypairs script that generates a new keypair, requests airdrop of SOL tokens to the generated public key, and displays the wallet balance.
## Description
The Solana Keypairs Assignment project is a simple script that utilizes the Solana web3.js library to create a new keypair, request an airdrop of SOL tokens to the generated public key, and display the wallet balance.
## Requirements
- Node.js (latest LTS version)
- Git
- Solana CLI (for advanced users)
## Usage
1. Clone this repository:
```bash
git clone https://github.com/your-username/Solana-keypairs.git
2. Navigate to the project directory:
```bash
cd Solana-keypairs
3. Install dependencies:
```bash
npm install
4. Run the script with your generated public key as a CLI parameter:
```bash
node index.js
The script will display your wallet's public key, request an airdrop of SOL tokens to the provided public key, and display the wallet balance.
## Installation
To install and run this project locally, follow the steps outlined in the Usage section. Make sure you have Node.js and Git installed on your machine.
## Contributing
Contributions to this project are welcome! Feel free to submit issues and pull requests but remember, this is just an assignment.