Skip to content

Instantly share code, notes, and snippets.

@hcheng826
Created December 11, 2022 14:39
Show Gist options
  • Save hcheng826/1de690d61bd408bcbb8bfb99513ab2f2 to your computer and use it in GitHub Desktop.
Save hcheng826/1de690d61bd408bcbb8bfb99513ab2f2 to your computer and use it in GitHub Desktop.
const ethers = require("ethers");
exports.y_sum_s = [
2, 105, 56, 31, 30, 34, 155, 165, 65, 238, 163, 12, 224, 138, 193, 138, 163,
33, 108, 184, 199, 29, 146, 179, 134, 203, 218, 180, 48, 140, 69, 88, 38,
];
console.log(
"address: ",
ethers.utils.computeAddress("0x" + Buffer.from(y_sum_s).toString("hex"))
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment