All Projects → mgernand → SimpleCoin

mgernand / SimpleCoin

Licence: MIT license
A simple cryptocurrency application for educational purposes only.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to SimpleCoin

Web Wallet
Stars: ✭ 261 (+1907.69%)
Mutual labels:  transaction, wallet
arweave-python-client
This client allows you to integrate your python apps with the Arweave network allowing you to perform wallet operations and transactions
Stars: ✭ 87 (+569.23%)
Mutual labels:  transaction, wallet
Blockchain Wallet
区块链钱包技术指南
Stars: ✭ 205 (+1476.92%)
Mutual labels:  transaction, wallet
minter-go-sdk
Minter Blockchain Golang SDK, 💳 wallet, 🧾 transactions, gRPC and HTTP clients 🌐 https://t.me/MinterGoSDK
Stars: ✭ 12 (-7.69%)
Mutual labels:  transaction, wallet
Web3swift
Elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions on Ethereum network.
Stars: ✭ 462 (+3453.85%)
Mutual labels:  transaction, wallet
Coinbin
Javascript Bitcoin Wallet. Supports Multisig, Stealth, HD, SegWit, Bech32, Time Locked Addresses, RBF and more!
Stars: ✭ 694 (+5238.46%)
Mutual labels:  transaction, wallet
simple-mpesa
A simple example of how MPESA works. Works with all 3 types of customers i.e. Agents, Merchants and Subscribers. Allows you to configure a tariff and apply it to transactions. The project follows DDD principles.
Stars: ✭ 31 (+138.46%)
Mutual labels:  transaction, wallet
bitlum-front
Lightning Network mainnet custodial wallet. Fast, easy, no node install and synchronisation
Stars: ✭ 16 (+23.08%)
Mutual labels:  wallet
templewallet-extension
🔐💰Cryptocurrency wallet for Tezos blockchain as Web extension for your Browser.
Stars: ✭ 176 (+1253.85%)
Mutual labels:  wallet
albedo
Security-centric, developer-friendly, easy-to-use delegated signer and keystore for Stellar Network
Stars: ✭ 57 (+338.46%)
Mutual labels:  wallet
thor-sync.electron
A browser that empowers DApps on VeChain
Stars: ✭ 52 (+300%)
Mutual labels:  wallet
leptin
🔗 Leptin is a PoW blockchain completely built in Nodejs.
Stars: ✭ 57 (+338.46%)
Mutual labels:  transaction
kunlun-storage
Kunlun-storage is the storage component for KunlunBase. It's developed based on percona-mysql-8.0.x and contains exclusive features used by KunlunBase, performance enhancements and XA transaction crash safety enhancements without which MySQL would not be able to execute XA transactions reliably under error conditions such as power outage, proces…
Stars: ✭ 2 (-84.62%)
Mutual labels:  transaction
EosProxyServer
A full-functional backend server of EOS wallet.
Stars: ✭ 36 (+176.92%)
Mutual labels:  wallet
mxfactorial
a payment application intended for deployment by the united states treasury
Stars: ✭ 36 (+176.92%)
Mutual labels:  transaction
burstcoin-mobile
Burstcoin mobile wallet for Android and iOS https://play.google.com/store/apps/details?id=org.icewave.burstcoinwallet
Stars: ✭ 22 (+69.23%)
Mutual labels:  wallet
metapay-chrome
A Chrome extension wallet for Stellar that simplifies payment.
Stars: ✭ 21 (+61.54%)
Mutual labels:  wallet
cardanocli-js
Wrapping the cardano-cli inside JavaScript
Stars: ✭ 173 (+1230.77%)
Mutual labels:  wallet
android-upi-payment
An android library for integrating payment using existing upi apps.
Stars: ✭ 26 (+100%)
Mutual labels:  transaction
arcbit-web
arcbit - web wallet http://arcbit.io
Stars: ✭ 31 (+138.46%)
Mutual labels:  wallet

SimpleCoin

To get started with a local three-node setup from a Windows PowerShell.

cd SimpleCoin.Node
dotnet restore
dotnet build
start dotnet -Args run, --port=5000
start dotnet -Args run, --port=5001
start dotnet -Args run, --port=5002

Disclaimer

This tool is intended to be used for educational purposes only. Use it on your own risk.

HTTP REST API

The REST API is demoed using the curl command. To have it available on Windows install it using the Chocolatey package manager Windows: https://chocolatey.org/.

choco install curl
choco upgrade url
start cmd

Peer-to-Peer

Ping a node
curl http://localhost:5000/ping
Add a peer
curl -H "Content-type:application/json" --data "{'peer': 'localhost:5001'}" http://localhost:5000/peers
Query connected peers
curl http://localhost:5000/peers

Blockchain

Get all blocks of the blockchain
curl http://localhost:5000/blocks
Get a specific block
curl http://localhost:5000/blocks/{hash}
Mine a block
curl -X POST http://localhost:5000/mineBlock

Wallet

Mine transaction
curl -H "Content-type: application/json" --data "{'address': '04bfcab8722991ae774db48f934ca79cfb7dd991229153b9f732ba5334aafcd8e7266e47076996b55a14bf9913ee3145ce0cfc1372ada8ada74bd287450313534b', 'amount' : 35}" http://localhost:5000/mineTransaction

The private-key: 19f128debc1b9122da0635954488b208b829879cf13b3d6cac5d1260c0fd967c

Send transaction
curl -H "Content-type: application/json" --data "{'address': '04bfcab8722991ae774db48f934ca79cfb7dd991229153b9f732ba5334aafcd8e7266e47076996b55a14bf9913ee3145ce0cfc1372ada8ada74bd287450313534b', 'amount' : 35}" http://localhost:5000/sendTransaction
Query transaction pool
curl http://localhost:5000/transaction_pool
Get a specific transaction
curl http://localhost:5000/transactions/{id}
Get balance
curl http://localhost:5000/balance
Get balance of a specific address
curl http://localhost:5000/balance/{address}
Get wallet address
curl http://localhost:5000/address
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].