LibertyDSNP / eth-sdk-ts

TypeScript SDK for DSNP on Ethereum
Apache License 2.0
9 stars 1 forks source link

Add flexibility to allowing input of non-0x prefixed hex strings #127

Closed wilwade closed 3 years ago

wilwade commented 3 years ago

Problem

Some things (node buffer) don't 0x prefix and need to match spec clarification https://github.com/LibertyDSNP/spec/pull/113

Solution

Allow non-0x prefixed strings to be handled by convertDSNPUserIdOrURIToBigNumber

Double Checks:

Change summary: