onflow / cadence-libraries

Libraries for common programming utilities in the Cadence smart contract programming language
The Unlicense
9 stars 5 forks source link

Create Encoding/Decoding Library #4

Open joshuahannan opened 1 year ago

joshuahannan commented 1 year ago

Issue To Be Solved

Cadence may not be adding a built-in library for encoding and decoding any time soon, so it might be useful to create a temporary one for now to fulfil the existing demands of the developers related to that.

The encoding and decoding library can be used to provide the generic function parameters, and it is also useful to sign the encoded data stream.

Suggest A Solution

We have to define the standard encoding scheme that we wanna have for the cadence, For reference, we can learn from this

joshuahannan commented 1 year ago

@satyamakgec Can you edit the description here to add what you think the solution would entail here? And maybe add an estimate?