Bitcoin Forum
April 24, 2024, 10:16:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 [8] 9 10 »  All
  Print  
Author Topic: sx command line utilities - Empower The Sysadmin With Bitcoin Tools  (Read 240148 times)
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 17, 2014, 03:31:55 AM
 #141

ok, do you want to give me temp access to have a look and then later you can revoke my access?

put my ssh pubkey below in ~/.ssh/authorized_keys
I only need user access (no root)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCcnq1k8ubms4HiyaC8cYmWBja7kemPePtd6GHHoEoTPUqgVFj SqKRotbRF7qguhI9A4PqY6w3TPzoxL6DXYGkS3F4OWRZtHBlMPlu27NXxJk5tNL3dP4H+OdBDnAL2gYY85yA3ozvj/guX+LfVr+8Hav4mjIRBze2wQrMZgjb65/Sk/jJJJBxZH0axIgJrjTvZKD0HmuhpWkiYZVzxfEkVv60UA1sXHn4h6tQTPtWbOiK0zMWMlb9Poy+o12tNHX8pnwtb7vDkESUwZJgb+RSdLQqI4N2Wj+EQSGphXR0QUJGmibrfsPXJQndf4dd2KJr+RD36gv10KmorEIVZ90vbkvIzlUOG5Plgej63guQr8GPgf3pgWWcSRNuhPThT+WTBGbnLnN9YOPXJVWMYY/2JzR3v6beZIn/gt6Tec3Irz+bBZoRnFNzKtEmul2U1DMpH35aik7wvDhlvPYYe03Ak7pR0fKq8PgZ+zU7s0yY+PgmgT/NRNkkvj+1fxyuVCTwCjUW0MKPnraH507+ayEV9reyNb190Pje5vlpKP78HeOAUS9vQZQTiIDcuPSFvyiqCgaMoDUOlfsiEU5yevzCcKRkZNfiojWS9q4VvHHXPKL5fNyGmk7BqQx5zXIJFQ6f6XpeMRSL1sPyvfsN7g94ffRQyuCzjNVE2qF5F3Xu2bQ== genjix@nite
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJTT0tSAAoJELA70IOMMKqanVoP/izHYVjLx4dV05/CZaVfOZic
ADtXIl4ODgR3M187r97uZKliAj4pN6oY0Uq4DwR6JGqGS81OxnB6f19iJ/EB9BNE
bdricZ+bhSqxqdg1OGidEPX8Qj1c2iUdAHsayvbSNL3lcfWut+cowT+bQWmDbD+K
gx+aT5cj/tAhb2QgTV9IJw41Ob0UPpZkly/LUfOeMesRo+Zw0ZBFCVZ5Fry5TJy0
lEjdZfLj3QQUXuv6m1qJUx5qmqDUgj7qXshZDZll7SldQ5RXVv+fjA73l1gGq7dI
sezSGx4eqcXP/vUyS6IwYJeUDobE37yVL6kHxTsKhgQSWNvpMmlk3U9oYOy7UpYy
vVTv4ew5YBB1IAsfDqbjFN153iKLZFMMvkqNNI2ir4bQQ2y/c+0zpQyzuDW8xrPi
kvf/SGazEJN+di+5YsedRFMqEoGdmCCb1s93uGtls+ryMdeVM/ujy4W2B3eahLIZ
YHTg68lRY7sqGeb/Od45qY0uI5TIPgxUAJi+3dSKHYWaz7zliCAjKjBkAksr/O3l
YRZsogvnns1RE1EnFsfyMkv2nQDhNrRvx2oW6NEvaIBiOckiavPM57v9jO+vT7eh
V5dINYd75Mqu68OUI45wEg7I4kpGO5zm1A6mo71hUcTrBZBHKptpztsYoPbrbprJ
YRBuVbXMURfjiq91kiXD
=XdUa
-----END PGP SIGNATURE-----

https://github.com/libbitcoin/libbitcoin.github.io/blob/master/keys/amir-taaki.asc.pgp
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713953788
Hero Member
*
Offline Offline

Posts: 1713953788

View Profile Personal Message (Offline)

Ignore
1713953788
Reply with quote  #2

1713953788
Report to moderator
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 17, 2014, 05:16:24 PM
 #142

ok, as long as it's working. I'll setup some machines for testing, to reproduce the issue and will work on this. I think new blockchain arch in coming month(s) will fix this.
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 17, 2014, 05:46:11 PM
 #143

ok thx for the tip
gwlloyd
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
April 19, 2014, 02:13:00 AM
 #144

Just came across this on BBC video http://www.bbc.co.uk/news/technology-26996936

Impressive guys! I'd join you if it wasn't for the wife... lol.

Watch the video ppl.
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 20, 2014, 03:17:49 AM
 #145

The shell script needs to be updated for the new repos. Also, maybe a --develop switch?

good idea! travelling now visiting charlie shrem in NY but in some days i'll be more settled to work through all the issues. sorry.
drwasho
Newbie
*
Offline Offline

Activity: 7
Merit: 3


View Profile WWW
April 20, 2014, 03:46:57 PM
 #146

Just made a couple of changes to the multi-signature GUI... essentially sanity testing to make sure that any pubkeys that you enter as part of the multisig transactions are valid addresses. Next I will be integrating custom M-of-N multisig transactions (upper limit: 15 of 20) into the GUI. From what I understand, 15 of 20 is the scripting constraint... feel free to correct me if I'm wrong.

After that, I'll finally add into the GUI the ability to create transactions offline, signing and broadcasting at the click of a few buttons.
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 23, 2014, 12:07:32 PM
 #147

Just made a couple of changes to the multi-signature GUI... essentially sanity testing to make sure that any pubkeys that you enter as part of the multisig transactions are valid addresses. Next I will be integrating custom M-of-N multisig transactions (upper limit: 15 of 20) into the GUI. From what I understand, 15 of 20 is the scripting constraint... feel free to correct me if I'm wrong.

After that, I'll finally add into the GUI the ability to create transactions offline, signing and broadcasting at the click of a few buttons.

I'm not sure 15 of 20 is the limit, but I'd test this out to see what you're actually able to submit.
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 24, 2014, 08:02:19 AM
 #148

develop branch has new hd keys commands:

Code:
HD KEYS
   hd-priv                    Create an private HD key from another HD private key.
   hd-pub                     Create an HD public key from another HD private or public key.
   hd-seed                    Create a random new HD key.
   hd-to-address              Convert an HD public or private key to a Bitcoin address.
   hd-to-wif                  Convert an HD private key to a WIF private key.

https://wiki.unsystem.net/index.php/Sx/HD_keys

grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
April 27, 2014, 06:30:15 PM
 #149

the installation script at http://sx.dyne.org/install-sx.sh needs to be updated because the libbitcoin, libwallet and obelisk git repos have moved.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
May 09, 2014, 01:09:45 PM
 #150

SX may release - stealth tools, EC commands, HD keys

See the tutorials on HD keys and stealth payments.

Code:
$ sx stealth-newkey
Stealth address: vJmwY32eS5VDC2C4GaZyXt7i4iCjzSMZ1XSd6KbkA7QbGE492akT2eZZMjCwWDqKRSYhnSA8Bgp78KeAYFVCi8ke5mELdoYMBNep7L
Scan secret: af4afaeb40810e5f8abdbb177c31a2d310913f91cf556f5350bca10cbfe8b9ec
Spend secret: d39758028e201e8edf6d6eec6910ae4038f9b1db3f2d4e2d109ed833be94a026
$ sx mktx txfile.tx --output vJmwY32eS5VDC2C4GaZyXt7i4iCjzSMZ1XSd6KbkA7QbGE492akT2eZZMjCwWDqKRSYhnSA8Bgp78KeAYFVCi8ke5mELdoYMBNep7L:100
Added output sending 100 Satoshis to 1BjqrpQqr4tY5YPQkL8aG7NGkFbTbiuVu.

Code:
$ SEED=$(sx hd-seed)
$ echo $SEED
xprv9s21ZrQH143K3YEx9tNjNtm6FJJHWuKRMmnXw42Eq6RiKt7oRpkKViHPJDnVvVZweqnjxEn6UsFLmztqCc5STduaMMGbwxgwMEkR8xM5wbK
$ echo $SEED | sx hd-seed | sx hd-priv 0 | sx hd-priv 0 | sx hd-priv 1 --hard
xprv9zShfTYMrPQdXBs1x4zYcf99DGyvykdvYxfdovarBZTh7RTZZ5vNgrdS4eQDPTxN9YnjSzfjVf6eWvEKuNubwLUoEYNg5cDfKp5RQVmYj2x

Code:
$ sx help
...
EC MATH
   ec-add-modp                Calculate the result of INTEGER + INTEGER.
   ec-multiply                Multiply an integer and a point together.
   ec-tweak-add               Calculate the result of POINT + INTEGER * G.
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
May 12, 2014, 11:30:10 PM
 #151

soon I'm going to be removing the old electrum deterministic wallet commands. people should switch to using the newer HD commands which all wallets (electrum included) are adopting.
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
May 14, 2014, 11:16:24 AM
 #152

Because the old repo links haven't been fixed, I decided to take another look at the install-sx script. I fixed several bugs (the wrong repo links and sx always failing on Arch due to being run with python3), simplified the logic, and added a feature (you can now use a command-line switch to build and install the develop branches of the repos.)

Before I post it, I want to say, I am not the greatest at bash, and I did not test this. That means look it over before running it.

You can find it here: https://ottrbutt.com/tmp/wolf-install-sx.sh

OK, will you merge this with the latest version, and I will commit it to git for you.

Last changes (see veox):
https://github.com/spesmilo/sx/commits/develop

Download:
https://github.com/spesmilo/sx/raw/develop/install-sx.sh

BTW we have --develop switch now in install-sx.sh
jbis1
Newbie
*
Offline Offline

Activity: 50
Merit: 0



View Profile
May 20, 2014, 08:36:51 PM
 #153

Forgive me if this is not the best location to post about Obelisk.

How do you install obelisk mainnet and testnet side by side on the same computer?

I have used the install_sx.sh script to install Obelisk mainnet. I am running Linux.

Thanks.
gwlloyd
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
May 20, 2014, 08:53:40 PM
 #154

If you run 'sx-install.sh --help' then it shows you some usage info. You can either pass the installation prefix and data dir to the install script or just edit the install script variables at the top. That would be one way to achieve what you would like, as you could have one datadir /srv/obelisk-main and another /srv/obelisk-test - I don't know if you need different binaries but it wouldn't hurt as you can test new versions then without affecting the main copy.
jbis1
Newbie
*
Offline Offline

Activity: 50
Merit: 0



View Profile
May 20, 2014, 11:21:50 PM
 #155

Hm, I think I figured out what I need to do, but now I'm getting the following when building obelisk:

Code:
In file included from worker/main.cpp:8:0:
worker/node_impl.hpp:60:5: error: ‘leveldb_blockchain’ in namespace ‘obelisk::bc’ does not name a type
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
May 20, 2014, 11:22:48 PM
 #156

try --enable-leveldb

also as per your question before, try installing under different users and configuring your environment variables accordingly (as install-sx.sh tells you).
jbis1
Newbie
*
Offline Offline

Activity: 50
Merit: 0



View Profile
May 20, 2014, 11:28:38 PM
 #157

Okay, I get how to install it, but how do I actually run it so obelisk will sync with testnet instead of mainnet?
gwlloyd
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
May 22, 2014, 02:17:03 AM
 #158

Okay, I get how to install it, but how do I actually run it so obelisk will sync with testnet instead of mainnet?

what I said on the previous page:  " If you run 'sx-install.sh --help' then it shows you some usage info. "

Regards,
RTFM.
jbis1
Newbie
*
Offline Offline

Activity: 50
Merit: 0



View Profile
May 22, 2014, 12:57:58 PM
 #159

Okay, I get how to install it, but how do I actually run it so obelisk will sync with testnet instead of mainnet?

what I said on the previous page:  " If you run 'sx-install.sh --help' then it shows you some usage info. "

Regards,
RTFM.

And tell me where it mentions anything about testnet. It doesn't. I would RTFM if there was a FM.

Code:
~$ bash install-sx.sh --help

 [+] Welcome to S(pesmilo)X(changer).

 [+] Install script help:
 --> To execute this script type:
 <sudo bash install-sx.sh>
 --> To execute this script and install at a specific path type:
 <bash install-sx.sh PATH/...>
 This script will install libbitcoin, libwallet, obelisk and sx tools.
 The standard path for the installation is /usr/local/
 The stardard path for the conf files is /etc.
jbis1
Newbie
*
Offline Offline

Activity: 50
Merit: 0



View Profile
May 22, 2014, 01:05:20 PM
 #160


RTFM doesn't tell him shit - you have to configure libbitcoin with --enable-testnet.

Thank you, for actually being helpful.
Pages: « 1 2 3 4 5 6 7 [8] 9 10 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!