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

FEATURE: Add javascript templates package #115

Open
joshuahannan opened this issue Feb 4, 2021 · 2 comments
Open

FEATURE: Add javascript templates package #115

joshuahannan opened this issue Feb 4, 2021 · 2 comments
Labels
Feature Feedback P-Medium SC-Eng Issues that we want to see surfaced in SC-Eng ZH Board

Comments

@joshuahannan
Copy link
Member

Issue To Be Solved

We current have a go package for getting transaction templates, but we should also have a javascript package so users of the contracts can import and use the correct versions without having to copy and paste.

Suggest A Solution

  • Create a lib/go/javascript/templates package that does a similar thing to the lib/go/templates package.
  • It should use the transactions and scripts in transactions/ as a source of truth, replace the import addresses with user provided addresses, and return the correct transaction texts.

Context

Would like to get this implemented soon because more organizations are using the transactions and scripts.

@joshuahannan
Copy link
Member Author

@MaxStalker You know javascript much better than I do, so feel free to edit this issue with more details when you get to it.

@psiemens
Copy link
Contributor

Putting this on ice

@joshuahannan joshuahannan added the SC-Eng Issues that we want to see surfaced in SC-Eng ZH Board label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feedback P-Medium SC-Eng Issues that we want to see surfaced in SC-Eng ZH Board
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants