Code: Select all
python setup.py install
Code: Select all
virtualenv venv
. venv/bin/activate
Code: Select all
flexcontrol autoconfigure
Code: Select all
{
"accounts": {
"/x": {
"imported": {}
}
},
"accounts_expanded": {},
"pruned_txo": {},
"stored_height": 379471,
"transactions": {},
"txi": {},
"txo": {},
"use_encryption": false,
"wallet_type": "imported"
}
Code: Select all
electrum daemon start
Code: Select all
electrum getprivatekeys 1abcdefghijklmnopqrstuvwxyz
Code: Select all
electrum daemon stop
Code: Select all
electrum daemon start
electrum importprivkey Kfvdf372364g7486f47c24763h32982743h872hfer9fgr8q
Code: Select all
electrum listaddresses
Code: Select all
daemonize electrum 8008
flexcontrol configure BTC-rpcport 8008
Code: Select all
flexcontrol start
# wait a few seconds for it to start up and talk to electrum
flex-cli currencygetbalance BTC
Code: Select all
flex-cli setgenerate true
Code: Select all
flex-cli addnode 123.456.789.012:8733 onetry
flex-cli startdownloading
Code: Select all
flex-cli getinfo
Code: Select all
user1@host$ flex-cli getinfo
Code: Select all
user1@host$ flex-cli currencygetbalance BTC
Code: Select all
user1@host$ flex-cli requestdepositaddress BTC
Code: Select all
user1@host$ flex-cli listdepositaddresses BTC
Code: Select all
user1@host$ flex-cli listdepositaddresses BTC
Code: Select all
user2@host$ flex-cli getnewaddress
Code: Select all
user1@host$ flex-cli transferdeposit <deposit address> <user2's Flex address>
Code: Select all
user2@host$ flex-cli listdepositaddresses BTC
Code: Select all
user2@host$ flex-cli withdrawdeposit <deposit address>
Code: Select all
electrum listaddresses
Code: Select all
electrum getaddressbalance <deposit address>
Code: Select all
electrum daemon stop
electrum
Code: Select all
flex-cli listcurrencies
Code: Select all
cbf getbalance
cbf getnewaddress
cbf sendtoaddress <address> <amount>
Code: Select all
user1@host$ flex-cli currencygetbalance CBF
10000
Code: Select all
user2@host$ flex-cli placeorder sell CBF 5000 0.0000001
Code: Select all
user1@host$ flex-cli book CBF
{
"bids" : [
],
"asks" : [
{
"size" : 5000,
"price" : 0.00000010,
"id" : "b5353593611e2bc8bb13061777a4690fc581f1"
}
]
}
Code: Select all
user1@host$ ./flex-cli acceptorder b5353593611e2bc8bb13061777a4690fc581f1
Code: Select all
user1@host$ flex-cli currencygetbalance CBF
15000
Code: Select all
user2@host$ flex-cli getbalance
0.0005
Code: Select all
alice@host1$ flex-cli requestprivateaddress BTC
Code: Select all
alice@host1$ flex-cli listdepositaddresses BTC
[
{
"address" : "13KSehmmk43DDt8VrJJv2GvqYv7mPDWM4a",
"balance" : "0.00000000",
"private" : true
}
]
Code: Select all
bob@host2$ flex-cli getnewaddress
1J4jmVW6dCgrhAjivHNme3nb4xtMpzkmm6
bob@host2$ flex-cli getpubkey 1J4jmVW6dCgrhAjivHNme3nb4xtMpzkmm6
0102B0068DC04B97CE17B295A3DDC528BCFDB488AA22958E2CA3571BBC32500829D5
Code: Select all
alice@host1$ flex-cli transferprivateaddress 13KSehmmk43DDt8VrJJv2GvqYv7mPDWM4a 0102B0068DC0...BC32500829D5
d09d6a50aa4867899badfca4cf1ad04d63d21860
Code: Select all
bob@host2$ flex-cli listdepositaddresses BTC
[
{
"address" : "13KSehmmk43DDt8VrJJv2GvqYv7mPDWM4a",
"balance" : "0.01000000",
"private" : true
}
]
Code: Select all
alice@host1$ flex-cli listdepositaddresses BTC
[
]
Code: Select all
$ flexcontrol start clean
Code: Select all
http://localhost:8729/
This sounds very exciting! This is like Shamir's Shared Secret but much more advanced. I'd like some smarter people to look at your Whitepaper and code, as it starts to go over my head! But in general, your thesis seems promising.Hi everybody,
I think this is a good time and place to announce the existence of Flex.
Flex lets you move and trade cryptocurrencies by breaking the private keys into many parts and scattering them among a network of untrusted nodes. Protocols for passing secrets verifiably and recovering information held by dead or malicious nodes are used to prevent theft or loss of secrets.
You can send bitcoins or other cryptocurrencies in seconds, and the transfer doesn't leave a trace in any blockchain.
It's also a decentralized exchange. You can trade cryptocurrencies without trusting any individual, and with a trusted third party, you can also trade fiat.
White paper: https://peer-node.github.io/flex/files/flex.pdf
Protocol specification: https://peer-node.github.io/flex/files/protocol.pdf
Github: https://github.com/peer-node/flex
Here's a screencast demonstrating the ability of Flex to zip bitcoins from person to person in seconds:
https://vimeo.com/145687724#t=512
It should start near the end of the screencast so you don't have to watch the installation and configuration process. I'll give a more verbose explanation of what's going on there in the next few days, maybe with an edited version of the video.
I think this opens up new possibilities for scaling bitcoin, and could have some commercial applications. For example, it could be used at checkouts since it takes only 8 seconds to irreversibly transfer coins.
The Flex software is available under the terms of the AGPL software license. This ensures that the software will remain free (gratis and libre) and at the same time makes it possible in the future to sell commercial licences to support development. This software is a working prototype, but to scale properly Flex will need to grow into a mature peer-to-peer network like bitcoin. The dual licensing scheme ensures that those who step forward to help Flex succeed will face the prospect of remuneration and emoluments. Contact me if you see the potential of the project and want to help move it forward.
Right now we're seeing the problems of scaling a global cryptocurrency start to manifest themselves. If Flex becomes big and strong, we could help to ease some of those pressures.
Thanks to Roger for providing the forum and, I guess... ask me anything.
Peer.
Return to “Project Development”
Users browsing this forum: No registered users and 6 guests