Looking for c\# implementation of wallet
-
Hey everyone, I’m pretty sure I could muddle my way through the C++ implementation of the wallet and make a C# one but I was hoping someone already had done the work. Anyone know where I could find such a thing? I’ve been toying with integrating it into a video game, (for an auction house sort of thing) but before I even start down that path I need an implementation that I’m more familiar with.
-
I dont think a merchant api is the way to go with this as it is intimately tied to the game itself.
I’m not really sure what features are in a normal wallet. But I know what I’d need. I’m sure I’d need the ability to be able to make hashes on the fly, send FTCs via automation. Get a list of transaction on a particular hash (balance of each send, what block it occurred on). Get the current block number. And see the size of wallet. Oh and be able to tie to an event when FTCs are inbound, or at least pole from a point in time to point in time.
I’m trying to build a proof of concept. any game that used the system would have a FTC pool setup side by side with the game. The game world would keep a running tally of the gold (credits or whatever) and would allow players to bring gold in or out of the world using the pool. the ratio they get is based on the current gold available, which goes up and down as people kill creatures do quests and spend money at merchants or turn it in to items with trade skills.
I’m hoping this would eliminate gold farmer spam as there would be no reason for them to bug the player, they could just go get their cut by removing the gold they farmed from the system. Anyone who wanted to buy gold could add gold to the system by adding FTCs to the pool at the current ratio. it then never becomes worth it for farmers to bug players. the worlds gold supply would be calculated off of all players gold and the sell value of their items (plus maybe another 1000 gold that never goes away so we never hit a case where there is no gold)
Anyways I figured if I could get it working properly, i could give code away and it would add some real utility to feathercoin. or maybe I’d buy a generic mmorpg engine and see if I could hook it up. I dunno i just want the proof concept to work right now.
-
cool. yeah that makes sense. I’ll look into that thanks for the advice!
-
Cool work, Rep+
-
Another option that’s out there if you want to just generate key-pairs is to use the Bitcoin Address Utility (https://github.com/casascius/Bitcoin-Address-Utility). You would need to tweak it for the Feathercoin address rules, but easy to compile and build into your base codeline.
Doing this would still require using an online merchant service for things like payment processing (as others mentioned), but all the address generation could be done direct in your app without running the daemon/block-chain on your game server.
-
FYI, bitcoinsharp hasn’t seen any commits since fall 2011, so it’s pretty much useless.