project-serum / serum-ts

Project Serum TypeScript monorepo
https://projectserum.com
Apache License 2.0
270 stars 245 forks source link

Make 256-bit integers available on Borsh encoding #248

Closed LucasSte closed 1 year ago

LucasSte commented 1 year ago

The Solang Solidity compiler is adding Anchor compatibly for Solidity contracts on Solana. Our goal is to have developers write their contracts in Solidity and use Anchor for the client side code. Solidity supports 256-bit integers and we aim to make them available on Anchor.

This PR ensures we can encode and decode them from a buffer when making CPI calls.