Skip to content

csknk/solana-transaction-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Solana Transactions

Builds Solana transactions to be signed externally.

To run, install node packages and run the start script.

The script takes three parameters:

# Run script with warnings suppressed
npm run --silent start "$from" "$to" "$amount" 2>/dev/null

A shell script request-signature.sh is provided which:

  • Runs the typescript programme to generate the unsigned (devnet) transaction
  • Submits the transaction for signing to zrchain

If the Solana-enabled relayer is running, the fulfilled transaction request will be picked up and broadcast to L1.

For debugging, set broadcast=0 in request-signature.sh - this will print the script output without broadcasting.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published