An open API service indexing awesome lists of open source software.

https://github.com/kayleexx/solana-keypairs


https://github.com/kayleexx/solana-keypairs

Last synced: 3 months ago
JSON representation

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.