Savjee/SavjeeCoin
Savjee/SavjeeCoin has 1,773 GitHub stars and 736 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-12 20:10 UTC. Last push 2025-11-21.
Comment ces chiffres sont mesurés
A simple blockchain in Javascript. For educational purposes only.
What you can do
- Simple proof-of-work algorithm
- Verify blockchain (to prevent tampering)
- Generate wallet (private/public key)
- Sign transactions
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalSavjeeCoin
⚠️ For education purposes only. This is by no means a complete implementation and it is by no means secure!
Features
- Simple proof-of-work algorithm
- Verify blockchain (to prevent tampering)
- Generate wallet (private/public key)
- Sign transactions
🏁 Getting Started
Install library
npm install --save savjeecoin
Generate a keypair
To make transactions on this blockchain you need a keypair. The public key becomes your wallet address and the private key is used to sign transactions.
const EC = require('elliptic').ec;
const ec = new EC('secp256k1');
const myKey = ec.genKeyPair();
The myKey object now contains your public & private key:
console.log('Public key:', myKey.getPublic('hex'));
console.log('Private key:', myKey.getPrivate('hex'));
Create a blockchain instance
Now you can create a new instance of a Blockchain:
const {Blockchain, Transaction} = require('savjeecoin');
const myChain = new Blockchain();
Adding transactions
// Transfer 100 coins from my wallet to "toAddress"
const tx = new Transaction(myKey.getPublic('hex'), 'toAddress', 100);
tx.sign(myKey);
myChain.addTransaction(tx);
To finalize this transaction, we have to mine a new block. We give this method our wallet address because we will receive a mining reward:
myChain.minePendingTransactions(myKey.getPublic('hex'));
📽 Video tutorial
This source code comes from my video series on YouTube. You can check them here:
| Video 1: Simple implementation | Video 2: Adding Proof-of-work |
|---|---|
![]() |
![]() |
| Video 3: Mining rewards & transactions | Video 4: Signing transactions |
![]() |
![]() |
| Video 5: Building a front-end in Angular | |
![]() |
Explorer des projets similaires
sindresorhus/awesome
😎 Listes Awesome sur toutes sortes de sujets intéressants [NOTE : les pull requests sont temporairement désactivées jusqu’à ce que j’aie l’occasion de rattraper celles qui existent déjà]
535,969 étoilesEbookFoundation/free-programming-books
:books: Livres de programmation librement disponibles
401,497 étoilesnilbuild/developer-roadmap
Feuilles de route interactives, guides et autres contenus éducatifs pour aider les développeurs à progresser dans leur carrière.
371,916 étoilesvinta/awesome-python
La liste de référence qui répond à « Je veux faire X en Python : quel outil dois-je utiliser ? ».
334,340 étoiles




