#!/bin/bash
# CEK NYA PERFOLDER, COPY INI SCRIPT KE DALAM SATU SATU FOLDER YA GIW


# Assuming your keypair .json files are located in the current directory
# Modify the path if your files are located elsewhere
FILES=./*.json

for file in $FILES
do
#    echo "Processing $file..."
    pubkey=$(solana-keygen pubkey "$file")
#    echo "Public key for $file:"
    echo "$pubkey"
done
