Skip to content

[RESOLVED] Create a number with value 2^255 #4731

Answered by luu-alex
CaledoniaProject asked this question in Q&A
Discussion options

You must be logged in to vote

web3.utils.toBN(2).pow(web3.utils.toBN(255))

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nazarhussain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Resolved A discussion has reached a resolution
2 participants