You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this repo has a larger collection of audited transactions than the official FLIX one (https://github.com/onflow/flow-interaction-template-service), so I think it would be beneficial to migrate transactions stored in this repo to FLIX standard.
Solution
I think we could write an automated script that would do most of the migration work, such as:
build a basic FLIX data structure with f_type, f_version, data.cadence, data.type, data.interface fields
transform blocto i18n message to data.messages.description field
data.messages.title would either need to be manually added or we could try to generate a summarized version of the description (e.g. without the replacement params, as this example demonstrates)
we could retrieve dependency contract name by parsing the transaction source code (import ContractName from 0xAddress)
we won't be able to determine the pin info automatically
parse transaction source code to generate arguments info (without messages.title, since that requires human input)
Impact
This would expand the existing FLIX collection and make it more useful for Flow developers.
It would also improve the DX for developers using Flowser, as we are working on integrating FLIX: onflowser/flowser#207. After integration is completed, developers would be able to easily search and discover a large collection of FLIX templates and interact with them directly from the Flowser app.
The text was updated successfully, but these errors were encountered:
Description
There is now an official standard for recording audited transaction templates called FLIX: https://github.com/onflow/flips/blob/main/application/20220503-interaction-templates.md
I believe this repo has a larger collection of audited transactions than the official FLIX one (https://github.com/onflow/flow-interaction-template-service), so I think it would be beneficial to migrate transactions stored in this repo to FLIX standard.
Solution
I think we could write an automated script that would do most of the migration work, such as:
data.messages.description
fielddata.messages.title
would either need to be manually added or we could try to generate a summarized version of the description (e.g. without the replacement params, as this example demonstrates)import ContractName from 0xAddress
)arguments
info (withoutmessages.title
, since that requires human input)Impact
This would expand the existing FLIX collection and make it more useful for Flow developers.
It would also improve the DX for developers using Flowser, as we are working on integrating FLIX: onflowser/flowser#207. After integration is completed, developers would be able to easily search and discover a large collection of FLIX templates and interact with them directly from the Flowser app.
The text was updated successfully, but these errors were encountered: