? Bitcoin miner ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Bitcoin miner

Submitted
Updated
Author
Shelly
Public Key
YK2NED9Y
Min. Compat.
All
Version
1.0
Rating
8 votes
Description This is a work-in-progress bitcoin miner for SmileBASIC. It isn't functional yet, and there is a lot I have to add until it will reach that point. Currently only the majority function is implemented. Instructions Input the message you want to hash (yes, I know it says blockhash, I need to fix that)
Categories
Keywords
  • bitcoin
  • mining
  • crypto
  • money
  • pool
10 Comment(s) Shelly Shelly Thanks simeon and 12me21! Okay, so if I'm understanding correctly the bitcoin mining process works in the following way: A series of values (Version, previous block hash,etc) is combined together with something called a nonce, and it is all hashed. A successful hash is one ending in enough zeroes. Because of how unpredictable a sha256 hash is you need to simply brute force. Let me try to implement this now. Simeon Simeon Scholar Received for knowing a great deal about programming topics Achievements Amazing Page Hidden Achievements Drawing I like to draw! Hobbies Find a 32-bit nonce such that the output hash is 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001 if you wanna get rich. https://en.bitcoin.it/wiki/Block_hashing_algorithm chicken chicken OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Second Year My account is over 2 years old Website Good Page Hidden Achievements I should have commented this ages ago, but please don’t call it a bitcoin miner if it doesn’t mine bitcoin. Simeon Simeon Scholar Received for knowing a great deal about programming topics Achievements Amazing Page Hidden Achievements Drawing I like to draw! Hobbies Can you explain how it works? Wouldn't you need an implementation of SHA256? Shelly Shelly I was planning on making my own implementation of Sha256, but would you mind if I used yours? Simeon Simeon Scholar Received for knowing a great deal about programming topics Achievements Amazing Page Hidden Achievements Drawing I like to draw! Hobbies If you need one then go right ahead! This submission is what gave me interest in creating it If you do end up using it, then consider 12Me21's version because it's much faster 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website Yeah go ahead, I posted a link to the code in a comment on Simeon's page. If you want, I'll upload it later. spaceturtles spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Not really useful but an interesting concept I guess. Shelly Shelly Well this is could eventually allow for a SBS mining pool, which would be cool. MasterR3C0RD MasterR3C0RD Helper Received for being very helpful around SmileBASIC Source Achievements Second Year My account is over 2 years old Website osu! Is Awesome! I love osu! Express Yourself Even if we got everyone on the site to mine Bitcoins on their 3DS, no money would be made. The 3DS is too slow to do it without adding on the overhead of SmileBASIC, and a mining pool would be a waste of time to set up and a waste of energy.