Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ACI to /compile output #106

Merged
merged 1 commit into from
Jan 31, 2023
Merged

Add ACI to /compile output #106

merged 1 commit into from
Jan 31, 2023

Conversation

davidyuk
Copy link
Member

related to aeternity/aepp-sdk-js#1681

The new "aci" property I propose to make in exactly the same format as returned by aesophia_cli and that is used in aepp-calldata library, e.g. an array of contracts and namespaces acis, without encoded_aci, external_encoded_aci fields.

https://github.com/aeternity/aepp-calldata-js#quick-start

$ ./aesophia_cli --create_json_aci ./test/contracts/identity.aes | jq .
[
  {
    "contract": {
      "functions": [
        {
          "arguments": [
            {
              "name": "x",
              "type": "int"
            }
          ],
          "name": "main_",
          "payable": false,
          "returns": "int",
          "stateful": false
        }
      ],
      "kind": "contract_main",
      "name": "Identity",
      "payable": false,
      "type_defs": []
    }
  }
]

@hanssv hanssv merged commit a8f6bca into master Jan 31, 2023
@hanssv hanssv deleted the add-aci-to-compile-output branch January 31, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants