8000 GitHub - XLauncher-Dev/solana-cli: his repository provides a set of scripts to interact with the Solana blockchain using Solana CLI. It includes wallet creation, program deployment, and program invocation.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

his repository provides a set of scripts to interact with the Solana blockchain using Solana CLI. It includes wallet creation, program deployment, and program invocation.

Notifications You must be signed in to change notification settings

XLauncher-Dev/solana-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Solana CLI Integration

This repository provides a set of scripts to interact with the Solana blockchain using Solana CLI. It includes wallet creation, program deployment, and program invocation.

Prerequisites

Features

  1. Wallet Creation: Quickly generate a new wallet keypair.
  2. Program Deployment: Deploy smart contracts to the Solana blockchain.
  3. Program Invocation: Interact with deployed programs.

Scripts Overview

  • create_wallet.sh: Creates a new wallet keypair and saves it to wallet.json.
  • deploy_program.sh: Deploys a smart contract from the specified directory.
  • invoke_program.sh: Invokes a deployed program with arguments.

Usage

  1. Set up your environment:

    export SOLANA_CLUSTER=https://api.devnet.solana.com
    export WALLET_PATH=./wallet.json
  2. Run scripts:

    • Create a wallet:
      ./scripts/create_wallet.sh
    • Deploy a program:
      ./scripts/deploy_program.sh ./programs/xlauncher
    • Invoke a program:
      ./scripts/invoke_program.sh <PROGRAM_ID> <ARGUMENTS>

License

This project is licensed under the MIT License.

About

his repository provides a set of scripts to interact with the Solana blockchain using Solana CLI. It includes wallet creation, program deployment, and program invocation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0