graph-tooling icon indicating copy to clipboard operation
graph-tooling copied to clipboard

Add conversion from BigInt to Address

Open Jannis opened this issue 7 years ago • 0 comments

The expected signature:

declare namespace typeConversion {
  function bigIntToAddress(n: Uint8Array): Address
}

class BigInt extends Uint8Array {
  toAddress(): Address
}

This will require a host-exported typeConversion.bigIntToAddress function in graph-node.

Jannis avatar Nov 01 '18 20:11 Jannis