Bitcoin Forum
May 27, 2022, 01:07:58 PM *
News: Bitcoin Pizza bake-off contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Altcoin Discussion / CLTV to P2SH Potential bounty $ and question on a script on: May 19, 2017, 12:38:14 AM
I would like some of the more experienced developers to respond to this especially if you are a good Python dev.

So since all my accounts on BitHalo and BitBay are multisig there is a strange dilemma now that I am adding FULL checklocktimeverify
support in the UI with friend ways of describing and interacting with these scripts.

All seemed okay until I realized that to pay a CLTV transaction normally you list the public keys for a multisignature you intend to pay as so:
2 pubkey1 pubkey2 2 OP_CHECKMULTISIG

The problem is normally in BitHalo or BitBay you would not know the persons public keys to their multisignature in advance. As all of the accounts
are already P2SH how could I send to P2SH within the P2SH script(for CLTV) and what would the redeem even look like? I use pyblackcointools which is a custom derivative of pybitcointools. So anyone who wants to help code a way of signing these fancy scripts I will pay to do so. Or if you can just
advise if its even POSSIBLE to pay a P2SH within a P2SH and somehow redeem it. I considered something like this:

Script
timestamp checklocktimeverify drop dup p2sh

The redeem script I want to do would be like this:
sig1 sig2 multisigscript SCRIPT

So in theory it would verify the script then duplicate the p2sh script, compare it to the hash, then evaluate the script

But all my attempts have not worked. And I don't want this to be labeled nonstandard(although I can manage if it is and just make the daemons accept it).

For those who are curious this is how the script would look normally.

timestamp checklocktimeverify drop 2 pubkey1 pubkey2 2 checkmultisig

You might argue "just do that, it works" but the problem is my users are not psychic, they don't know the public keys of a brand new account
and to even find the public keys of an intended recipient of a freeze transfer they would have to check a registration address or scan their recent
transactions and look into their input for the public keys (that is a very hack solution!!) I don't want to have to over-engineer this.

So this is a two part question. First, what would the redeem script look like, is it even possible to pay a p2sh within a p2sh?? (without knowing the pubkeys)

With that said, would I sign the script or the multisig or the script of the checklocktimeverify script address?! Is this compatible with my pyblackcointools library even?! (its just pybitcointools with minor changes)

And the second part is, who out there is a master in Python who might want to help me update my pyblackcointools library to I can start making a friendly way to sign and detect and script these things? I will write it myself if need be but it is a very tedious scope creep from my already mammoth amount of work coding BitHalo/BitBay

Thanks!
2  Alternate cryptocurrencies / Altcoin Discussion / BlackHalo Smart Contracting Client!!! Download now! Happy Independence day! on: July 04, 2014, 12:50:53 PM
BLACKHALO BITHALO AND NIGHTTRADER WORLDS FIRST UNBREAKABLE SMART CONTRACTS LIVE AND RUNNING
www.BlackHalo.info www.NightTrader.org www.BitHalo.org

Currently running 64 bit windows 32 bit and linux building now...
100% Encrypted communication over blockchain/email channels there is 3 other communication protocols being added.

The site on BlackHalo says it best! World you are now free. HAPPY INDEPENDENCE DAY!!! SURPISE! Never again will you have to deal with fear, uncertainty and doubt, bitcoin bans, no more Mt. Gox and now you can do any type of exchange including real world items with anyone in the world and they cannot break the deal. Under this platform is UNBREAKABLE REAL WORLD SMART CONTRACTS. This innovation is BEYOND Bitcoin. It has applications beyond crypto. This actually has limitless real world applications not because of the Smart Contracts already in the client but especially the TYPE of smart contract suggested... double deposit escrow.

So... with that said. Let me discuss the beginning of a new era of trade and economy and what this client in Blackcoin already allows.
Hello Cryptoland! This is David Zimbeck announcing Halo and NightTraders official thread! I want to thank you all for your patience in this exciting project. So... what is it? Halo clients build right into the coins. Smart contracts are perfect for BlackCoin with its blazing fast transaction speed and malleability patch and proof of stake 2.0 it is the perfect coin for this implementation(nobody wants to wait over an hour for escrow to fund and these escrows fund in minutes). It has also proven to be stable, secure and filled with exuberance. So what can BlackHalo do?

WE ARE CURRENTLY IN BETA TESTING SO PLEASE START SMALL
The Beta schedule will run a week or so and allow me to listen to any of the following
*Feature requests
*Bug Reports
*Company requests
*Python contract ideas
*Aggregate more developers/Angels/Team/etc

During Beta we will give frequent updates. So check this thread talk to community members and check my site and reddit. We will be transating the client to Chinese. The IRC automatic contracting bot is being disabled because we are still adding to it. Make sure you get a good Bitmessage connection. Anyone can participate in Beta and for assistance please use the irc floors in the client or Blackcoins reddit page at http://www.reddit.com/r/blackcoin/. I'm sure there will lots of helpful people on there. Make some world cup bets sell some cash trade coins and have fun. You should set long duration's on your contracts for now(like a week). Technical note for cryptographers: for the moment expired contracts go to the base58 hash of "BlackcoinEaterAdios1" I will make it "6a" in the next update. I will be available for questions and advice occasionally on irc.

Templates are coming for the below deals to make them more user friendly... for now go ahead and let me know your opinions on feature requests.

THESE FEATURES ARE ALREADY ACTIVE AND WORKING(This is a short list of what can be done)

TRUSTLESS PEER TO PEER CASH
Worldwide cash exchanges for Bitcoin or BlackCoins using Direct Deposit, MoneyGram, Western Union, PayPal, Credit Cards, Gift Cards, or other preferred financial avenues are all possible within the BlackHalo client as well as the BitHalo client. The counter-party receiving the cash cannot break the deal. So if you live in Nigeria and they live in Brazil and you dont trust them... no problem! You can even trade cash with the beloved Mark Karpeles himself and know that your cash cannot be stolen because it is BACKED by a Halo contract. Be a guarantor! If you want to get somebody new into crypto, prove to them you have faith in them and set up an escrow where their deposit is small and yours is slightly higher than the amount. Once they send the cash release the funds. So you dont "need coins to buy cons"... want to reduce risk further with non-crypto person? Microtrade cash for coins.

Barter Bridges
This can allow for bartering on the platform. You can trade anything for anything, with full confidence that the transaction will go through. Trade sheep for cows or corn for wheat; either way you can assured that the transaction will be safe from ill-doing. Return to the barter system and back with a Halo contract!!

Derivatives and Betting
Using two contract, you and your counterparty can make a bet of any kind. Cancel the losing one, approve the winning one. WORLD CUP WAGER ANYONE? Want to short a coin? Now is your chance. Discuss on the "Other" trading floor in NightTrader.

Micro-Trading
With BlackHalo, micro-trading allows you and your counter-party to put up equal deposits with a very low purchase amount. This creates a bridge from which you would send a small percent of what you and your party have negotiated. You then repeat this exchange many times until the full amount is transferred. Using this method you can transfer potentially millions of dollars using a small deposit — and still eliminating the risk. You can even give out a loan with zero risk! Confidence building exercises!

Joint Accounts
Perfect for a business or a family; share your joint accounts with your business partners or your spouse while also adding an extra layer of security that your money is safe from malicious third-parties. If needed you can take this a step further and password protect your keys with an added layer of encryption. This new innovation resembles many of the day to day banking solutions that bank accounts already provide; but coupled with the brilliance of digital currency.

Hire an Employee & Make Deposits
The employee is expected to perform, and the employer is expected to pay. In this case, the time limit enforces deliverables upon the employee meanwhile significantly increasing productivity. This becomes an invaluable design for outsourcing, with a guarantee that everything will be completed on-time to secure payment. It also guarantees that employer will pay for the work as it is completed. A win-win situation for both parties.

Trading Pairs and NightTrader Decentralized Exchange
No more Mt. Gox, no more convoluted Ripple or NXT. Now your coins never have to leave your computer! Trade Dogecoins for Blackcoins and Bitcoins for Peercoins. The sky is the limit. THE RESERVE CONTRACT SHOULD BE IN BLACKCOIN

End Charge-Back's
Now you can open a ticket in advance with the public keys from you and your counter-party. Each party sends it individually. A plug-in for Paypal could be coded in a few lines of code. This validates the escrow. YOU CAN DO THIS MANUALLY FOR BETA. Open a ticket, with paypal AFTER sending the funds while under contract, dont confirm escrow until the party tells paypal that they are in an escrow and they give their account. Then you give your account. Then release escrow. International paypal! No chargebacks!

New Change Creation System
BlackHalo is more efficient than any other client because it looks for your “loose change” in your accounts, groups it together into one output, and pays it to you. Once you have too many pieces of loose change in your “penny jar” or once you have too many “$1 bills,” your address combines them to make a larger bill. This is exactly how cash works in the real world, and you can have all that power in your Blackcoin Wallet. Its a denomination system that is completely necessary to peform 100s of simultaneous contracts.

Negotiate Escrow Free Real Estate Deals
In real estate, escrows have been known to disappear with the money. No longer will this be possible. Now you and the counter party can decide how you will structure that trust.

Anonymous
Both BlackHalo and BitHalo create a platform for an anonymous decentralized exchange. For example, you can send Bitcoins in exchange for Blackcoins or Dogecoins in exchange for Darkcoins, etc. Once a contract is created in Blackcoin, anything can be traded under it. This is much more anonymous than Darkcoin’s “Coin-join” and even more anonymous than XC. Simply because the two chains are totally unrelated. This allows anonymous microtrading between two parties under the same contract.

Encrypted Blockchain Messaging
This already exists in the client. You can send contract requests to a Blackcoin address directly. However I am not adding colored coins or 100% contracting in blockchain until I finish my pruning system.

*Coming soon in 1.1
NightTraders templates and interface(currently its only encrypted email bitmessage and irc filters with trading floors)
Cold Staking
Joint Escrow 2 Step Spending
Python contracts
And a few more secret features

Currently I'm working alone so I dont want to be overwhelmed. However I want to give my honest thanks love and support to BlackCoin. You have some real heroes working in BlackCoin who have been nothing but supportive and helpful. So thank you for all the kind words support and help. If I do have a team I would consider the Blackcoin/Bitcoin enthusiasts part of my team and together we form (a sort of) Decentralized Autonomous Corporation. Special thanks to Rat4, Josh, Alec from Bitcoin42, McKie, Maarx, Adam, StuartGT, Patrick Doetsch and my friend "Shadowman" and my friend Sean. The list really should be longer I see so many awesome posters on Twitter and Reddit and I hope to know you all more personally. I have been busy so its hard to give out personal messages to everyone due to programming bottleneck.

There was a bounty for dev help to help me convert BitHalo to BlackHalo (I started in electrum and had to move to blackcoin). A few people sent me help although there was a coding barrier so I had to do most on my own. For those that helped (Rat4, Shadowjack, Stuart, Patrick) I am pretty sure I know how I am dividing it. Im not taking a penny for myself because the original post was strictly for devs! There should be some left over, since I unfortunately was not able to give out the source code so I will hold the remainder in float for paying more people. In the future we can use Halo contracts for dev work to guarantee devs get paid and work gets done. There is an option to donate in the client.

To everyone who is about to scramble and try to clone this:
"I would rather die an original than a copy"

On the other hand, Requests for coins to implement this to their coin can be sent to my gmail. Dogecoin is the one I'm considering next but I'm open. To companies who want to sell cash for coins using Halo contracts please contact me personally. I can probably get you directly into the client as a trusted vendor. Especially for those companies who wish to be "Guarantors". Any features bugs etc as discussed above I want you all to understand. Its been 4 months of coding in secrecy. Im exhausted!! I will try my best to fix bugs and implement more. However, I will upon request, give you guys instructions on how to handle (general) issues. The protocol is working and if you have an questions let me know I will try and get to you.

Email all requests/questions to NightTrader2014@gmail.com
3  Alternate cryptocurrencies / Announcements (Altcoins) / BlackHalo Smart Contracting Client!!! Download now! Happy Independence day! on: July 04, 2014, 12:35:14 PM
BLACKHALO BITHALO AND NIGHTTRADER WORLDS FIRST UNBREAKABLE SMART CONTRACTS LIVE AND RUNNING
www.BlackHalo.info www.NightTrader.org www.BitHalo.org

64 Bit available 32 bit and linux on the way shortly...
Currently uses encrypted blockchain and 100% encrypted email 3 more protocols being added.

The site on BlackHalo says it best! World you are now free. HAPPY INDEPENDENCE DAY!!! SURPRISE! Never again will you have to deal with fear, uncertainty and doubt, bitcoin bans, no more Mt. Gox and now you can do any type of exchange including real world items with anyone in the world and they cannot break the deal. Under this platform is UNBREAKABLE REAL WORLD SMART CONTRACTS. This innovation is BEYOND Bitcoin. It has applications beyond crypto. This actually has limitless real world applications not because of the Smart Contracts already in the client but especially the TYPE of smart contract suggested... double deposit escrow.

So... with that said. Let me discuss the beginning of a new era of trade and economy and what this client in Blackcoin already allows.
Hello Cryptoland! This is David Zimbeck announcing Halo and NightTraders official thread! I want to thank you all for your patience in this exciting project. So... what is it? Halo clients build right into the coins. Smart contracts are perfect for BlackCoin with its blazing fast transaction speed and malleability patch and proof of stake 2.0 it is the perfect coin for this implementation(nobody wants to wait over an hour for escrow to fund and these escrows fund in minutes). It has also proven to be stable, secure and filled with exuberance. So what can BlackHalo do?

WE ARE CURRENTLY IN BETA TESTING SO PLEASE START SMALL
The Beta schedule will run a week or so and allow me to listen to any of the following
*Feature requests
*Bug Reports
*Company requests
*Python contract ideas
*Aggregate more developers/Angels/Team/etc

During Beta we will give frequent updates. So check this thread talk to community members and check my site and Reddit. We will be translating the client to Chinese. The IRC automatic contracting bot is being disabled because we are still adding to it. Make sure you get a good Bitmessage connection. Anyone can participate in Beta and for assistance please use the irc floors in the client or Blackcoins reddit page at http://www.reddit.com/r/blackcoin/. I'm sure there will lots of helpful people on there. Make some world cup bets sell some cash trade coins and have fun. You should set long duration's on your contracts for now(like a week). Technical note for cryptographers: for the moment expired contracts go to the base58 hash of "BlackcoinEaterAdios1" I will make it "6a" in the next update. I will be available for questions and advice occasionally on irc.

Templates are coming for the below deals to make them more user friendly... for now go ahead and let me know your opinions on feature requests.

THESE FEATURES ARE ALREADY ACTIVE AND WORKING(This is a short list of what can be done)

TRUSTLESS PEER TO PEER CASH
Worldwide cash exchanges for Bitcoin or BlackCoins using Direct Deposit, MoneyGram, Western Union, PayPal, Credit Cards, Gift Cards, or other preferred financial avenues are all possible within the BlackHalo client as well as the BitHalo client. The counter-party receiving the cash cannot break the deal. So if you live in Nigeria and they live in Brazil and you don't trust them... no problem! You can even trade cash with the beloved Mark Karpeles himself and know that your cash cannot be stolen because it is BACKED by a Halo contract. Be a guarantor! If you want to get somebody new into crypto, prove to them you have faith in them and set up an escrow where their deposit is small and yours is slightly higher than the amount. Once they send the cash release the funds. So you dont "need coins to buy cons"... want to reduce risk further with non-crypto person? Microtrade cash for coins.

Barter Bridges
This can allow for bartering on the platform. You can trade anything for anything, with full confidence that the transaction will go through. Trade sheep for cows or corn for wheat; either way you can assured that the transaction will be safe from ill-doing. Return to the barter system and back with a Halo contract!!

Derivatives and Betting
Using two contract, you and your counter-party can make a bet of any kind. Cancel the losing one, approve the winning one. WORLD CUP WAGER ANYONE? Want to short a coin? Now is your chance. Discuss on the "Other" trading floor in NightTrader.

Micro-Trading
With BlackHalo, micro-trading allows you and your counter-party to put up equal deposits with a very low purchase amount. This creates a bridge from which you would send a small percent of what you and your party have negotiated. You then repeat this exchange many times until the full amount is transferred. Using this method you can transfer potentially millions of dollars using a small deposit — and still eliminating the risk. You can even give out a loan with zero risk! Confidence building exercises!

Joint Accounts
Perfect for a business or a family; share your joint accounts with your business partners or your spouse while also adding an extra layer of security that your money is safe from malicious third-parties. If needed you can take this a step further and password protect your keys with an added layer of encryption. This new innovation resembles many of the day to day banking solutions that bank accounts already provide; but coupled with the brilliance of digital currency.

Hire an Employee & Make Deposits
The employee is expected to perform, and the employer is expected to pay. In this case, the time limit enforces deliverables upon the employee meanwhile significantly increasing productivity. This becomes an invaluable design for outsourcing, with a guarantee that everything will be completed on-time to secure payment. It also guarantees that employer will pay for the work as it is completed. A win-win situation for both parties.

Trading Pairs and NightTrader Decentralized Exchange
No more Mt. Gox, no more convoluted Ripple or NXT. Now your coins never have to leave your computer! Trade Dogecoins for Blackcoins and Bitcoins for Peercoins. The sky is the limit. THE RESERVE CONTRACT SHOULD BE IN BLACKCOIN

End Charge-Back's
Now you can open a ticket in advance with the public keys from you and your counter-party. Each party sends it individually. A plug-in for Paypal could be coded in a few lines of code. This validates the escrow. YOU CAN DO THIS MANUALLY FOR BETA. Open a ticket, with paypal AFTER sending the funds while under contract, dont confirm escrow until the party tells paypal that they are in an escrow and they give their account. Then you give your account. Then release escrow. International paypal! No chargebacks!

New Change Creation System
BlackHalo is more efficient than any other client because it looks for your “loose change” in your accounts, groups it together into one output, and pays it to you. Once you have too many pieces of loose change in your “penny jar” or once you have too many “$1 bills,” your address combines them to make a larger bill. This is exactly how cash works in the real world, and you can have all that power in your Blackcoin Wallet. Its a denomination system that is completely necessary to perform 100s of simultaneous contracts.

Negotiate Escrow Free Real Estate Deals
In real estate, escrows have been known to disappear with the money. No longer will this be possible. Now you and the counter party can decide how you will structure that trust.

Anonymous
Both BlackHalo and BitHalo create a platform for an anonymous decentralized exchange. For example, you can send Bitcoins in exchange for Blackcoins or Dogecoins in exchange for Darkcoins, etc. Once a contract is created in Blackcoin, anything can be traded under it. This is much more anonymous than Darkcoin’s “Coin-join” and even more anonymous than XC. Simply because the two chains are totally unrelated. This allows anonymous micro-trading between two parties under the same contract.

Encrypted Blockchain Messaging
This already exists in the client. You can send contract requests to a Blackcoin address directly. However I am not adding colored coins or 100% contracting in blockchain until I finish my pruning system.

*Coming soon in 1.1
NightTraders templates and interface(currently its only encrypted email, bitmessage and irc filters with trading floors)
Cold Staking
Joint Escrow 2 Step Spending
Python contracts
And a few more secret features

Currently I'm working alone so I dont want to be overwhelmed. However I want to give my honest thanks love and support to BlackCoin. You have some real heroes working in BlackCoin who have been nothing but supportive and helpful. So thank you for all the kind words support and help. If I do have a team I would consider the Blackcoin/Bitcoin enthusiasts part of my team and together we form (a sort of) Decentralized Autonomous Corporation. Special thanks to Rat4, Josh, Alec from Bitcoin42, McKie, Maarx, Adam, StuartGT, Patrick Doetsch and my friend Shadowjack and my friend Sean. The list really should be longer I see so many awesome posters on Twitter and Reddit and I hope to know you all more personally. I have been busy so its hard to give out personal messages to everyone due to programming bottleneck.

There was a bounty for dev help to help me convert BitHalo to BlackHalo (I started in electrum and had to move to blackcoin). A few people sent me help although there was a coding barrier so I had to do most on my own. For those that helped (Rat4, Shadowjack, Stuart, Patrick) I am pretty sure I know how I am dividing it. Im not taking a penny for myself because the original post was strictly for devs! There should be some left over, since I unfortunately was not able to give out the source code so I will hold the remainder in float for paying more people. In the future we can use Halo contracts for dev work to guarantee devs get paid and work gets done. There is an option to donate in the client.

To everyone who is about to scramble and try to clone this:
"I would rather die an original than a copy"

On the other hand, Requests for coins to implement this to their coin can be sent to my gmail. Dogecoin is the one I'm considering next but I'm open. To companies who want to sell cash for coins using Halo contracts please contact me personally. I can probably get you directly into the client as a trusted vendor. Especially for those companies who wish to be "Guarantors". Any features bugs etc as discussed above I want you all to understand. Its been 4 months of coding in secrecy. Im exhausted!! I will try my best to fix bugs and implement more. However, I will upon request, give you guys instructions on how to handle (general) issues. Your coins are always safe the protocol is perfect so dont worry if you have an issue let me know I will try and get to you.

Email all requests/questions to NightTrader2014@gmail.com or HaloHelpTeam@gmail.com
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!