ntls-io / nautilus-trusted-compute

Nautilus Trusted Compute
GNU Affero General Public License v3.0
0 stars 3 forks source link

Integrate with Algorand to allow ASA management #13

Open jdvlio opened 2 years ago

jdvlio commented 2 years ago

Overview

In the initial implementation, the authorization library facilitates the creation of Algorand Standard Assets on the Algorand blockchain. We will allow the following operations:

In milestone 1 we treat DRT transfer, redemption, etc. as a matter of convention and these operations will not be implemented in the current scope. Other tooling, like goal, can be used in the mean time for development and testing purposes.

Implementation

Blockchain integration using algonaut library.

An AssetCreationTransaction trait is provided which has an async create_asset() method, using the async-trait crate, that returns a basic result type.

The initial implementation of the library sketches the outline of an FungibleAsset trait by presenting an interface similar to that in ERC-20, as follows: