Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot use 'in' operator to search for 'digest' in undefined #34

Open
dexbotsdev opened this issue Oct 16, 2024 · 1 comment

Comments

@dexbotsdev
Copy link

I used below code to be precise

wallets = JSON.parse(readFileSync(./wallets/${tokenAddress}.json, 'utf-8'));

 //   wallets file contains the list of addresses

    const amounts = wallets.map((item)=>suiamnts.suoAmounts)
    const walletList = wallets.map((item)=>item.address)

    const result = await suiKit.transferSuiToMany(walletList,amounts);

    console.log(result);
@fum-is-chum
Copy link
Member

Hi @dexbotsdev can you show the content of walletList variable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants