Bridging custom ERC-20 to Solana

Hi!

I’m trying to send over custom ERC-20 tokens from Ethereum to Solana using the Js SDK.
The following line produces and error:

  const xfer = await wh.tokenTransfer(
    wCsovToken,
    10,
    sepoliaChainAddress,
    solanaChainAddress,
    false, // automatic?
    new Uint8Array([97, 98, 99, 100]),
    0
  );

=> Error: Token HvRt8CqdnAQsVqw1w39qKzysXg8ytr4tbFa8STEAh6tV: 0x000000000000000000000000a9f853a24003d492bc3f3bdd99d017221fea5164 is not a wrapped asset

From what I gather, the problem is that Wormhole doesn’t know about my ERC-20 token and it has to be attested. How could I do that?

Thank you!

Hi, this isn’t the right forum to ask queries related to Wormhole SDK.

Please visit our discord: Wormhole