UNPKG

dvf-client-js

Version:

<img src="https://avatars1.githubusercontent.com/u/56512535?s=200&v=4" align="right" />

10 lines (9 loc) 176 B
/* ensure stark Key is always 64 bits */ module.exports = (starkPublicKey) => { return { x: starkPublicKey.x.padStart(64, '0').substr(-64), y: starkPublicKey.y } }