Skip to content

feat: add home page list of originated contracts#118

Merged
maxwellward merged 3 commits into
mainfrom
add-originated-contracts-list
Oct 27, 2025
Merged

feat: add home page list of originated contracts#118
maxwellward merged 3 commits into
mainfrom
add-originated-contracts-list

Conversation

@maxwellward
Copy link
Copy Markdown
Collaborator

This pull request adds a new "Originated Contracts" section to the Home page, allowing users to view and access smart contracts deployed on Ghostnet. It introduces utility functions for generating contract URLs and enhances the display of contract information. The most important changes are grouped below.

Feature Addition: Originated Contracts Section

  • Added a new "Originated Contracts" section to HomeView.vue, displaying a list of originated smart contracts with links to their source code and tzkt explorer pages.

Utility Functions

  • Introduced buildTzktUrl and buildGitHubContractUrl functions in utils.ts to generate explorer and source URLs for contracts.

Data Integration and Display Logic

  • Imported contract configuration from contract-config.json and defined the originatedContracts computed property to enrich contract data with URLs for display. [1] [2]
  • Added a helper function getContractDisplayName to format contract names for user-friendly display.

@maxwellward maxwellward requested a review from Copilot October 27, 2025 20:53

This comment was marked as resolved.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@maxwellward maxwellward merged commit 83bf5ce into main Oct 27, 2025
3 checks passed
@maxwellward maxwellward deleted the add-originated-contracts-list branch October 27, 2025 20:55
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.

2 participants