Konversi mnemonik menjadi seed di javascript

let a = new Uint8Array(buffer.toJSON().data.slice(0,32))
const key = Keypair.fromSeed(a);
Poised Pintail