printf "%s" "Public key of the sender address: "
read -r from_address

printf "%s" "Public key of the recipient address: "
read -r to_address

printf "%s" "Public ey of the nonce account: "
read -r nonce_address

printf "%s" "Name of the token to transfer: "
read -r token_name

printf "%s" "Amount of token to transfer: "
read -r token_amount

echo "Saving inputs to file"

cat <<EOF > /data/input.json
{
	"from_address": "$from_address",
	"to_address": "$to_address",
	"token_name": "$token_name",
	"token_amount": "$token_amount"
}
EOF

icepick workflow sol broadcast --cluster devnet --nonce-address "$nonce_address"