First snippet there could also be done as: const supply = await contract.totalSupply().then(BigInt)
or const supply = BigInt(await contract.totalSupply()).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
First snippet there could also be done as:
const supply = await contract.totalSupply().then(BigInt)
or
const supply = BigInt(await contract.totalSupply())
.