near / borsh

Binary Object Representation Serializer for Hashing
https://borsh.io/
487 stars 41 forks source link

Extract borsh solidity and make a borsh-solidity library #89

Open ailisp opened 4 years ago

ailisp commented 4 years ago

borsh solidity implemented here: https://github.com/near/rainbow-bridge/blob/master/libs-sol/nearbridge/contracts/Borsh.sol And also need a code generator to generate deserialize/serialize struct XXX. Generated solidity code should look like: https://github.com/near/rainbow-bridge/blob/master/libs-sol/nearbridge/contracts/NearDecoder.sol#L52