Skip to content

πŸš€ A multi-chain blockchain REST API built with Node.js and Express, supporting Ethereum, Binance Smart Chain (BSC), Bitcoin, and Solana. Enables seamless transactions, wallet management, and blockchain interactions. πŸ”—πŸ’°

Notifications You must be signed in to change notification settings

MohamadFazuan/BlockchainRESTAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Blockchain REST API

Overview

This Blockchain REST API provides a set of endpoints for interacting with a blockchain network, allowing users to create transactions, retrieve blockchain data, and manage network nodes.

Features

  • Create and broadcast transactions
  • Retrieve the blockchain ledger
  • Validate transactions and blocks
  • Peer-to-peer network management
  • Secure and efficient API endpoints

Technologies Used

  • Backend: Node.js / Express
  • Blockchain: Custom implementation
  • Database: JSON-based ledger storage
  • Security: JWT authentication (recommended)

Installation

Prerequisites

Ensure you have the following installed:

  • Node.js (v14+)
  • npm or yarn

Setup Instructions

  1. Clone the repository:
    git clone https://github.com/MohamadFazuan/BlockchainRESTAPI.git
    cd BlockchainRESTAPI
  2. Install dependencies:
    npm install
  3. Start the server:
    npm start

The API will run on http://localhost:3000 by default.


API Endpoints


Security Best Practices

  • Input Validation: Always validate user inputs before processing transactions.
  • Authentication: Implement JWT authentication to protect sensitive endpoints.
  • Encryption: Encrypt sensitive data to enhance security.

Future Improvements

  • Optimize performance with database integration
  • Swagger UI Integration

Contributing

Contributions are welcome! Feel free to submit a pull request or report issues.

License

This project is licensed under the MIT License.


Author: Mohamad Fazuan

About

πŸš€ A multi-chain blockchain REST API built with Node.js and Express, supporting Ethereum, Binance Smart Chain (BSC), Bitcoin, and Solana. Enables seamless transactions, wallet management, and blockchain interactions. πŸ”—πŸ’°

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •