Alex, can we have a RoaMap about the planned updates ? or at least a To-Do list of what is yet to be made ? I was nice to receive the newsletter, i though there wasn't, at least bitdice isn't as annoying as other sites.
|
|
|
Thanks for the responses.
From what I can tell they want to have people trading and exchanging on their network. So buying their altcoins and have the value go up. They usually do this kind of thing with securities and gather leads through marketing to the MICE industry.
I'm going to do some NTX research now.
My team (3 of us) have limited experience with cryptology but we all have CS degrees and are proper developers.
NXT has a private blockchain evaluation kit you might want to look at: https://nxtforum.org/nrs-releases/private-blockchain-evaluation-kit-v1-11-4/One of the main values of crypto is decentralized consensus. With a private centralized network you remove this value. For some applications it is perfectly fine to remove it. I don't know if your application can do without it, but you have both options if you choose NXT. Beside NXT, OP should also look at Counterparty, Ethereum, Ethereum Clasic , Omni , Bitshares, Burst, Waves. All these are asset platforms. and choose the one that fits most to his project. I don't think Febo, all the coins talked about in this thread are complicated to add, and no the best option for this company. What i advise you is to check for a POS coin like BLK (BlackCoin) and fork it, maybe Rat4 will provide you with some support but i don't think it is required. POS coins are what you company need because it requires less infrastructure compared to a POW or POW/POS coin, less Pump&Dump possibilities bue to miners. Then, using this you can create a customized wallet and incorporate all the features you like, in the language you want. So i think that it is better then creating a token from ETH or ETC as they are hard to implement, NXT no longer exists, now it is ARD and it is under heavy developement, and still unstable. XMR is not even to be taken in consideration. Waves is still a baby, but Lisk may be what you are looking for as it is built on NodeJS it may be easier to work with, and their team is open for discussion with everyone with quick support answers. Burst Omni bitshares are providing features not required by the company, especially regarding exchange intergration, and other stuff. So prior to start working, i highly advise you to check what is the best coin for you, look for coins who aleready have all the features you want, and fork it, if you are ever stuck you can ask the original dev for help, they are usually open for help.
|
|
|
Well, the best of all solutions is to run your own node, in pruned mode, and query it using your own API in order to be secure. Use bitcoinjs-lib to generate addresses and transactions, and pass them to bitcoind. -...-
From security viewpoint, that is true. However, integrating an API is still the easier solution. If you do not develop a critical system, using the already-suggested blockchain(dot)info API should be legit enough. It is fairly easy too. I have a tutorial in my previous threads where I explain how to use these APIs with POST/GET requests and Ruby. That works with blockchain(dot)info too. Or using PHP as @cloverme suggested: Blockchain.info is the easiest, but anything free has its limits. So some API calls may be limited on number of times per day, etc. Also, there's downtime to contend with that you're not always notified about. My earlier projects used free API's but later I moved to my own nodes. function getBalance($address) { return file_get_contents('https://blockchain.info/en/q/addressbalance/'. $address); } $balance_address = getBalance('1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa');
Thank you for contributing to the community! no problem, however, i have been advised many times not to use file_get_contents, because of security issues. An example with curl may look too complex, maybe npm is the right sollution as they have made an api wrapper. Blocktrail is the most advised for this, as they are linked to some big miners, so your TXs have a better chance to be processed.
|
|
|
At least we know how to get a quick reply from yobit. thank you btcdamnit. I think that with this new option the support service of yobit (if it really exists) will be one the best among all the exchanges, worldwide.
|
|
|
Anybody here can help me on installing bitcoinjs on my laptop. I'm using windows 10 OS. I succesfully installed the bitcoinjs exe file but i can't install the npm by using the command I hope somebody can help me. yes, it is normall as you are asking npm to install npm, which is not really possible. use : npm install bitcoinjs-lib By the way, have you installed nodeJS ? Yeah. I watch the tutorial on youtube regarding creating vanity address using bitcoinJS. In the tutorial. He used that code to install npm which is necessary to do your your suggested code. I saw that code on instruction on BitcoinJS but it has a $ symbol at the beginning. I try that code with $ sign at beginning but it didn't work out. ok, so, you are new to coding. $ is displayed in a terminal, these terminals are used bu Unix and MacOSX, so you don't have it in cmd, so i suppose you are using windows. When you have installed nodejs, create a directory and open a cmd inside the directory. then do then enter the informations, next to this do npm install --save bitcoinjs-lib jquery create a .txt file and rename it to main.js or index.js as you specified when npm init. Then open this file with a software like notepad2 or sublimetext, and add : var bitcoin = require('bitcoinjs-lib'); var $ = require('jquery'); // yes, we are in 2017, it had been solved
var tx = new bitcoin.TransactionBuilder();
// Add the input (who is paying): // [previous transaction hash, index of the output to use] var txId = 'aa94ab02c182214f090e99a0d57021caffd0f195a81c24602b1028b130b63e31' ; tx.addInput(txId, 0);
// Add the output (who to pay to): // [payee's address, amount in satoshis] tx.addOutput("1Gokm82v6DmtwKEB8AiVhm82hyFSsEvBDK", 15000);
// Initialize a private key using WIF var privateKeyWIF = 'L1uyy5qTuGrVXrmrsvHWHgVzW9kKdrp27wBC7Vs6nZDTF2BRUVwy'; var keyPair = bitcoin.ECPair.fromWIF(privateKeyWIF);
// Sign the first input with the new key tx.sign(0, keyPair);
/*-------------------------------------------Look here ---------------------------------------------*/ // Print transaction serialized as hex var hexTX = tx.build().toHex();
$.post('http://btc.blockr.io/api/v1/tx/push',{"hex":hexTX},function(data){ console.log(data); });
And you are done.
|
|
|
whoah i think it will takes and alot of courage. thanks guys 😊
If you don't have the guts to take a computer and code, then you have nothing to do with programing, it is true that sometimes it is scary, but as long as you know a single coding languague (not html css) you can do it as they are all the same, it is just a logic, writen in a file. If you are really scared by coding, then just hire someone to do it for you, but you will have to pay a lot because you would be unable to learn something simple.
|
|
|
Well, the best of all solutions is to run your own node, in pruned mode, and query it using your own API in order to be secure. Use bitcoinjs-lib to generate addresses and transactions, and pass them to bitcoind. Use your api to query bitcoind about the state of a transaction, or record the TX informations in a database at each new block. At least you will have custom informations.
|
|
|
a stable decentralized monetary system without or low price fluctations if not is it possible to develop one?
- You can look at dogecoin their price remain almost same over time, fluctuate quite less and they are also decentralized. - There is USDT which is actually a cryptocurrency backed by real USD so its value always remain as 1 US dollar. However this is not a completely decentralized project. USDT isn't the first attempt to make a cryptocurrency baked by USD, there was annother one who failed, loosing 50% of her value, which killed her. If you want something to invest on, use either FIATs, or trusted cryptos who exists since a long time.
|
|
|
Anybody here can help me on installing bitcoinjs on my laptop. I'm using windows 10 OS. I succesfully installed the bitcoinjs exe file but i can't install the npm by using the command I hope somebody can help me. yes, it is normall as you are asking npm to install npm, which is not really possible. use : npm install bitcoinjs-lib By the way, have you installed nodeJS ?
|
|
|
Do you need to be running that code on a server that also acts as a Bitcoin Core Node in order to broadcast the transaction? Or am I misthinking how this works? Thanks!
I suppose that you did this : var tx = new bitcoin.TransactionBuilder()
// Add the input (who is paying): // [previous transaction hash, index of the output to use] var txId = 'aa94ab02c182214f090e99a0d57021caffd0f195a81c24602b1028b130b63e31' // tx.addInput(txId, 0)
// Add the output (who to pay to): // [payee's address, amount in satoshis] tx.addOutput("1Gokm82v6DmtwKEB8AiVhm82hyFSsEvBDK", 15000)
// Initialize a private key using WIF var privateKeyWIF = 'L1uyy5qTuGrVXrmrsvHWHgVzW9kKdrp27wBC7Vs6nZDTF2BRUVwy' var keyPair = bitcoin.ECPair.fromWIF(privateKeyWIF)
// Sign the first input with the new key tx.sign(0, keyPair);
/*-------------------------------------------Look here ---------------------------------------------*/ // Print transaction serialized as hex var hexTX = tx.build().toHex();
$.post('http://btc.blockr.io/api/v1/tx/push',{"hex":hexTX},function(data){ console.log(data); });
You just need to push it like in the example, but you should use $.Ajax instead of $.post because you iwll have more options to manage the transmission and secure it. You don't need jQuery. Just make an xmlhttprequest I said he "should" use jquery, because it is easier then using xhr, because is can be tricky, while using jQuery you can simply send Data, debug, customise the result, use promises or callbacks. While doing these using xhr will end with a 100 line of code, which is not the aim of developers i guess.
|
|
|
While I don't think that many are actually able to read the code and most of those that can, didn't check the code of more than 1-2 coins, I am curious of what comments will this bring. Many will vote their favorite coins, so I don't expect the poll tell anything. But I would like to see (by comments) the public perception on code quality, for the big rivals DASH/Monero and for some other coins too.
I feel like Bitcoin should not be in the list because .. Bitcoin is Bitcoin. It is expected that code is good and it's known to meet that expectation well enough.
You are right, but you know, every one have his own opinion on bitcoin. that's why i added him. quite nice approach, I respect that. Regarding the duality of XMR/DASH, trust me, by code quality and maturation, DASH is really far above XMR. XMR devs should focus on extending the possibilities of the daemon and the wallet, or even better, fuse them which will bring a bigger ecosystem for them. the actual system isn't made for merchants integration and this is why DASH will stay above XMR, if they were to work more on these methods XMR would takeover DASH's place, because they have more aggresive supporters. At least, this is my opinion for both @spoetnik: code quality, community value.
Interesting. Maybe XMR can recover, since it's much younger than DASH, however it's an interesting insight. I somehow expected them to be closer. (I learned something new today! ) Let's see what's others' opinion. Thank you, yes XMR and DASH are different coins, with different algos and purposes, the price argument is common to all the crypto 'currencies' and that's what people seems not to be understanding. I aleready talked about this difference with both sides, PRO xmr and PRo dash, and came to this conclusion, the code just confirms that.
|
|
|
I voted but I am not sure how objective my vote was. I don’t know about the code of some of these coins. Mainly anyone of the coins listed below monero. I don’t know about PivX, Ardor, Lisk, Waves, NEM and augur. They are all new to me so I couldn’t vote for any of those.
Which means I am not qualified to vote to be honest. Which also shows the result of this vote would mean nothing when people like me can vote.
You can vote for a single coin, or take the time to gather more informations about the other coins. It is all up to you.
|
|
|
Finally this coin isn't a scam, i was right. I would have appreciated more updates and communication from the OP, i also regret that she is not present in the other exchanges, it owuld have been better for trades.
So, what is the next plan for this project ? i know that it is aleready going well regarding the price development, but will we see more development from the code part ? like more features ?
|
|
|
There's two ways you could do this:
1. You can sweep the funds (send the funds from the first address to the second one by doing a transaction). Pros: Safe, gets rid completely of the first wallet. Cons: Transaction fees. 2. You can import the private key from the first wallet to the second. Pros: No fees, control over the funds stays the same. Cons: Less secure because you are manipulating the private key and not included in second wallet backup.
this I know but the part I didn't understand is where do I do the transaction? When I generated the wallet on the web where does the transfer done? is there a website to access the wallet I generated or what that the part I didn't understand thx You can do it with bitcoinjs-lib : https://bitcoinjs.org/But i suppose that you don't have any coding skills, so you should consider one of these solutions : 1- Import the private key of the address you created in bitaddress.org at bitcoin-qt (the core wallet) : http://bitcoin.stackexchange.com/questions/5941/how-do-i-import-a-private-key-into-bitcoin-qt2- Import the private key of the address you created in bitaddress.org at blockchain.info : https://blockchain.info/wallet/paper-tutorial3- import it into your phone using bitcoin-qt android/ios wallet : just scan the Qr code of the private key, like for blockchain.info If you've never heard of a random site then don't trust it. The simplest thing you could do is import your private key into your favourite bitcoin client. Core, electrum, armory, or mobile options are just a few that I can name. Do your research. Good job getting away from a centralized 3rd party that holds your private keys. That's definitely a smart idea with bitcoins nearing an ATH again. Usually that's when the exit scams start coming out. Bitcoinjs-lib is used by all the block explorers, web wallets, light wallets, desktop wallets. It is not a random website, and i think that you never read nor check the codes you use online.
|
|
|
There's two ways you could do this:
1. You can sweep the funds (send the funds from the first address to the second one by doing a transaction). Pros: Safe, gets rid completely of the first wallet. Cons: Transaction fees. 2. You can import the private key from the first wallet to the second. Pros: No fees, control over the funds stays the same. Cons: Less secure because you are manipulating the private key and not included in second wallet backup.
this I know but the part I didn't understand is where do I do the transaction? When I generated the wallet on the web where does the transfer done? is there a website to access the wallet I generated or what that the part I didn't understand thx You can do it with bitcoinjs-lib : https://bitcoinjs.org/But i suppose that you don't have any coding skills, so you should consider one of these solutions : 1- Import the private key of the address you created in bitaddress.org at bitcoin-qt (the core wallet) : http://bitcoin.stackexchange.com/questions/5941/how-do-i-import-a-private-key-into-bitcoin-qt2- Import the private key of the address you created in bitaddress.org at blockchain.info : https://blockchain.info/wallet/paper-tutorial3- import it into your phone using bitcoin-qt android/ios wallet : just scan the Qr code of the private key, like for blockchain.info
|
|
|
a stable decentralized monetary system without or low price fluctations if not is it possible to develop one?
Price fluctuation against what? Even USD fluctuates against EUR, JPY or XAU. There's USDT (Tether) which, from what I know, is pegged to USD price, maybe this is what you are looking for. https://tether.to/faqs/I am not sure about its decentralization, you may have to do some homework I seriously don't think that he is decentralized, because else they wouldn't be able to controle the price. It is like ripple, and the unique purpose of this coin is to serve as a counterparty of USD for cryptocurrencies. In reality it fluctuates when USD fluctuates, but not against Bitcoin, this is why it is getting the attention of traders, but be warned that it is not a fixed state, as i remeber that last year they fluctuated a lot. And it is not the first fixed price crypto, they all fluctuate in the end so beware.
|
|
|
You'd better have a look at http://blackcoin.co/They literally created POS V3, and rat4 is a great developer. They are on pure POS now and the total coin supply is managed by the blockchain in order to maintain a 1% inflation. I don't know for monero as people on the forum was more interested in the privacy features. As of BLK, the price was very stable for the past months, untill the reçent events on Bitcoin where he climbed like most of the altcoins. Yet they are the most stable in term of inflation controle.
|
|
|
You should never invest in cloud mining as it is 100% scam, because either you will earn a tiny return on your investment, not even worth the transaction cost, or you will be scamed and loose your money. Be smarter please.
Why should i rent you ASICS and promise that you will have a return on investment while i could just use them myself to mine ? it is not logical at all and most of them closes down pretending a hack an steal everyone's money.
stay away from these, learn coding, and try to work for bitcoin.
|
|
|
Do you need to be running that code on a server that also acts as a Bitcoin Core Node in order to broadcast the transaction? Or am I misthinking how this works? Thanks!
I suppose that you did this : var tx = new bitcoin.TransactionBuilder()
// Add the input (who is paying): // [previous transaction hash, index of the output to use] var txId = 'aa94ab02c182214f090e99a0d57021caffd0f195a81c24602b1028b130b63e31' // tx.addInput(txId, 0)
// Add the output (who to pay to): // [payee's address, amount in satoshis] tx.addOutput("1Gokm82v6DmtwKEB8AiVhm82hyFSsEvBDK", 15000)
// Initialize a private key using WIF var privateKeyWIF = 'L1uyy5qTuGrVXrmrsvHWHgVzW9kKdrp27wBC7Vs6nZDTF2BRUVwy' var keyPair = bitcoin.ECPair.fromWIF(privateKeyWIF)
// Sign the first input with the new key tx.sign(0, keyPair);
/*-------------------------------------------Look here ---------------------------------------------*/ // Print transaction serialized as hex var hexTX = tx.build().toHex();
$.post('http://btc.blockr.io/api/v1/tx/push',{"hex":hexTX},function(data){ console.log(data); });
You just need to push it like in the example, but you should use $.Ajax instead of $.post because you iwll have more options to manage the transmission and secure it.
|
|
|
May I ask why you'd like to create such a site? Is it for a new coin or are you just looking to create another block explorer? There are already a handful of block explorers for Bitcoin. If you're looking at it from a business perspective then the market is pretty much saturated as it is.
i am looking to create BTC block explorer, from a business perspective. i didnt know there are others too .. Thanks though. ill see which one is more popular and has less competition . You can find several codes for block explorer in github. https://github.com/bitcoin-blockexplorerthe php of the old blockchain explorer is also available in there. If you are planning to make a new block explorer I think you'll get more users for it if you create one for an altcoin because there are already tons of block explorer for btc. or you can make one that has more feature and more advance if you want to have an advantage for other competitors. I don't think that he needs these, actually it is very easy to do, use this in a page : // JS file
var infos; $.get('https://btc.blockr.io/api/v1/block/raw/last', function(data){ console.log(data.data); infos = data.data; $("#container").append("<table></table>"); $("#container table").append("<tr id='tr0'></tr>"); $("#container table").append("<tr id='tr1'></tr>"); for (var detail in infos){ if(infos.hasOwnProperty(detail)){ $("#container table #tr0").append("<th>"+ detail + "</th>"); if(typeof(infos[detail]) !== "string"){ console.log('is'); $("#container table #tr1").append("<td>"+ infos.tx[0] +"</td>"); }else{ $("#container table #tr1").append("<td>"+ infos[detail] +"</td>"); } }; }; });
//HTML with the basic html tags and using jquery
<div id="container">
</div>
// Some css
#container{ height: 100%; width: 100%; } tr{ margin-left:5px; } table,tr,td,th{ border: 1px solid black; }
Now you have a block explorer using blockr API for blockchain infos, this snippet gets the last block, and the first transaction, i disabled the others because there is too much, you can use this process to start and deploy your own, else, you will just copy paste a website.
|
|
|
|