Skip to content

Anishkagupta004/solana-campus-connect-s2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Source code for the Solana Campus Connect Season 2 workshops.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 100.0%