Common Ground: AE integration for token-gated communities in the æcosystem

Hi! CG looks promising.
I’m a core developer on Aeternity, one of the two developers working on the Vanillae library (simpler integrations with AE than the full-service SDK for languages other than just TS/JS), and the lead developer on Tsuriai’s marketplace and commercial projects that are based on AE.

Looking at the wallet integrations you have, are you intending to enable things like login-via-signature (this is how Aegora does login, for example), or more generally integrate with wallet features?

A stumbling block we’ve had in terms of integration with site backends has been contract call data formation. At the moment the Vanillae lib does all the processing necessary to go from a contract’s ACI, a function name and arguments to complete contract call data (sign that data with a wallet and submit it to any node and it’s in the mempool), but this is a lot of language-specific processing that is unrealistic to implement in every language anyone might want to write an app or site in, so I’m currently in the process of making those features run in the AE node itself (where code for this already all exists) and making it available as an HTTP endpoint (related post in the Vanillae megathread here Aegora/Vanillae post series - #14 by zxq9).

An example of the front-end code we use to make login via wallet work (via a Vanillae TS lib called “Sidekick” that talks to Superhero) can be found at this link (the login page – it will time out after a few seconds if you don’t have Superhero or it is disabled and show you more info about it):
https://aegora.jp/q
This page includes the script https://aegora.jp/r/115/sign_mess-2.js which is written against Sidekick. The backend only need generate a reasonably random message and verify the signature that is returned.

Let us know whatever questions you have. CG looks like a cool project.

4 Likes