A blockchain explorer front-end for Alephium.
- Switch between main and test networks
- Search for an address or transaction
- List blocks
- Hash, timestamp, height, number of TX, and chain index
- Transaction view
- Hash, status, block hash, timestamp, inputs, outputs, gas, TX fee
- Address view
- Address, number of transactions, total balance, locked balance, history
- Statistics
- Hashrate, supply, transactions, blocks, number of chains
Everything is managed with NPM.
- Install dependencies:
npm install
- Starting the project:
env $(cat .env.placeholder | xargs) npm run start
- Building the project:
npm run build
- Run the tests:
npm run test
- Lint and fix:
npm run lint:fix
See package.json
's script
property for more options.
Note: You will probably want to change the variables in .env.placeholder
to use your local explorer-backend
.
To release a new version:
- Checkout the master branch:
git checkout master
- Create a commit that updates the package version in package.json and package-lock.json and a tag with:
npm version patch # if you want to bump the patch version npm version minor # if you want to bump the minor version npm version major # if you want to bump the major version npm version prepatch --preid=rc # if you want to create a release candidate and bump the patch version npm version preminor --preid=rc # if you want to create a release candidate and bump the minor version npm version premajor --preid=rc # if you want to create a release candidate and bump the major version
- Push the new commit and new tag to GitHub:
git push git push [remote] <tag>
- Create a GitHub release
This project uses @alephium/sdk.
Please down the package to refer to it as documentation for the network request
methods (api/api-explorer.ts
).