Git Product home page Git Product logo

alcompilor / blockio Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 1.93 MB

A very simple block explorer created with Vanilla TypeScript, leveraging the Web3.js library and Browser Injected API. Student project @Medieinstitutet.

Home Page: https://alcompilor.github.io/blockio/

License: MIT License

HTML 5.30% TypeScript 60.34% SCSS 34.36%
blockchain blockchain-explorer evm-blockchain injectedprovider typescript web3 web3js portfolio

blockio's Introduction

๐Ÿ‘‹ Overview

Blockio is a basic web application developed using Web3.js and the Browser Injected API (wallet-injected API). It is crafted to enable smooth interaction with Ethereum Virtual Machine (EVM) blockchains. Whether you're a developer, researcher, or blockchain enthusiast, Blockio offers a user-friendly interface for executing key operations on EVM blockchains.

Overview of Blockio

๐Ÿ’ป Tech Stack

  • HTML / SASS
  • TypeScript
  • Vite
  • Web3.js
  • Injected Web3 API

๐ŸŒŸ Features

  • Get Current Block Quickly retrieve the number of the latest block in the blockchain.
  • Check Balance Check the balance of any Ethereum account with ease. Simply input the account address, and Blockio will fetch and display the current balance.
  • Transfer Funds Initiate secure fund transfers between Ethereum accounts. Blockio streamlines the process of sending funds, allowing users to specify the recipient's address and the amount to be transferred.

โš ๏ธ Requirements

Before you get started with Blockio, make sure you have the following prerequisites installed:

  • Node.js (v20.10.0 or newer)
  • npm (Node Package Manager)
  • Ports 4173 & 5173 must be available

๐Ÿš€ Installation

  1. Clone the Blockio repository:
    git clone https://github.com/alcompilor/blockio.git
  2. Navigate to the project directory:
    cd blockio
  3. Install the dependencies:
    npm install
  4. Build the application:
    npm run build
  5. Start the application:
    npm run preview
  6. Open your browser and go to http://localhost:4173 to access Blockio.

๐Ÿงช Unit Tests

Blockio uses Vitest as its testing framework. To execute the existing tests, ensure that you have installed the required dev dependencies and then run the following command:

   npm test

Adding Tests

If you wish to contribute or introduce new tests, locate the existing test files in the tests directory. Adhere to Vitest testing conventions and create your test files accordingly.

โš–๏ธ License

Blockio is licensed under the MIT License. Feel free to reach out if you have any questions or suggestions.

blockio's People

Contributors

alcompilor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.