import { PublicKey, SystemProgram, } from '@solana/web3.js';
import { deriveFeeCollectorKey } from '../accounts';
export function createBridgeFeeTransferInstruction(wormholeProgramId, payer, fee) {
    return SystemProgram.transfer({
        fromPubkey: new PublicKey(payer),
        toPubkey: deriveFeeCollectorKey(wormholeProgramId),
        lamports: fee,
    });
}
//# sourceMappingURL=feeTransfer.js.map