aionnetwork / AVM

Enabling Java code to run in a blockchain environment
https://theoan.com/
MIT License
49 stars 25 forks source link

Split API and RT versions of API #347

Closed jeff-aion closed 5 years ago

jeff-aion commented 5 years ago

There are 3 conceptual spaces which exist both inside and outside the AVM (that is, the user's code directly sees the external perspective but is mapped to use the internal perspective, on deployment):

  1. JCL -> Shadow JCL
  2. User code -> Transformed user code
  3. API -> API

The API is the strange case in that its classes are not renamed into a shadow namespace but this causes confusion which shouldn't exist: