archethic-foundation / archethic-foundation/archethic-node

AEWeb: Suggestion to be able to see old version

Open
#1,046 2 comments 2 reactions 0 assignees View on GitHub
feature web hosting
Dominant language
Elixir
Stars
82
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Currently AEWeb will always fetch the latest transaction of the chain in order to display the latest version of the website.
I would like to alter this behaviour:

1. If URL is on a genesis address: fetch latest transaction and then display the website described in the transaction
2. If URL is not a genesis address: display the website described in the transaction

I think it's really good for transparency. And it allows people playing with the explorer to actually see what there is behind a transaction.

Contributor guide

Open the contributing guide

Research direction

Start by locating the AEWeb code that fetches the latest transaction and renders the website. Trace how genesis and non-genesis addresses are identified, then verify the behavior against transactions in the explorer. Done means a genesis URL still resolves to the latest transaction, while another transaction URL displays the website described by that transaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
blockchain
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.