Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 851 Bytes

README.md

File metadata and controls

46 lines (29 loc) · 851 Bytes

Solana Campus Connect S2

This repository contains the source code for the implementation using the web3.js SDK.

Contents

  • balance.ts: Contains the logic for fetching and displaying the balance of a Solana wallet.
  • wallet.ts: Provides functionalities related to Solana wallet operations.
  • token.ts: Create a token on Solana Blockchain.

Setup and Installation

  1. Clone the repository:
git clone https://github.com/akshatcoder-hash/solana-campus-connect-s2.git
  1. Navigate to the project directory:
cd solana-campus-connect-s2
  1. Install the required dependencies:
npm i

Usage

  1. First create a wallet using
ts-node wallet.ts

This will create a local wallet into a file named walet.json.

  1. Now you can fetch the wallet's balance using
ts-node balance.ts