How To Create A Decred Address For Linux

Discussion in 'Addresses' started by pedropilla, Jan 6, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. pedropilla

    pedropilla New Member

    Jan 5, 2016
    5
    5
    Male
    Well, I suppose that if you use linux you don't need this instruction, but I think this information could be usefull in any case. Anyway, it's very simple, i'm at fedora23:

    [pedro@localhost ~]$ sudo dnf install go-compilers-golang-compiler.x86_64
    [pedro@localhost ~]$ mkdir dcraddrgen
    [pedro@localhost ~]$ export GOPATH=/home/pedro/dcraddrgen/
    [pedro@localhost ~]$ go get -u github.com/decred/dcraddrgen
    [pedro@localhost ~]$ cd dcraddrgen/bin/
    [pedro@localhost bin]$ ./dcraddrgen key
    [pedro@localhost bin]$ cat key

    And that's it, your key is in key file, same folder.
     
    colt05, Jazzah and tacotime like this.
  2. evilpan

    evilpan New Member

    Jan 5, 2016
    6
    1
    Male
    Thanks for the info.
     
  3. pkothbauer

    pkothbauer New Member

    Dec 16, 2015
    9
    13
    Male
    I noticed that lead dev Dave Collins' Decred address has davec in the beginning. Is this something us mortals can do aswell? :D
    DsdavecE8StAXb5yac7s9Rrv53SZSSVHMwu
     
  4. Karman

    Karman New Member

    Dec 28, 2015
    18
    5
    Male
    Sr. System Administrator
    Spain
    Is a matter of create address until you find one with your text. Check this thread:

    https://forum.decred.org/threads/finally-made-my-decred-address.109/
     
    tacotime likes this.
  5. walkeralencar

    walkeralencar New Member
    Translator (Português)

    Dec 29, 2015
    57
    24
    Male
    CTO and PHP Consultant
    Brasília-DF, Brazil
    I have generated a lot of wallets looking for mine...
    and got 2x DsDave... in process.
     
  6. Lee Sharp

    Lee Sharp Sr. Member

    Dec 28, 2015
    308
    217
    Male
    Independent Consultant
    Houston, Texas
    Note that on Linux, the version of Go in the repositories can be old... Ubuntu 14.04 (the current LTS) is Go 1.2... Only 15.10 and the development version of 16.04 are on 1.5. Some people seem to like Go Version Manager. Simple instructions here... http://www.hostingadvice.com/how-to/install-golang-on-ubuntu/

    And word on what version of Go is needed?
     
    tacotime likes this.
  7. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    The btcsuite project has a compatibility guarantee of N and N-1 (the latest released version of Go and the version prior to it). Thus, the current officially supported versions for btcsuite are Go 1.5.2 and Go 1.4.3.

    Go 1.6 is currently in beta and due for release next month, so once that happens, the supported versions will roll forward to Go 1.6.x and Go 1.5.2.

    Given Decred is heavily based on the btcsuite code base, it will very likely be the same.
     
    tacotime likes this.
  8. jimmy16

    jimmy16 Jr. Member

    Jan 8, 2016
    143
    33
    Male
    package github.com/decred/dcraddrgen: cannot download, $GOPATH not set. For more details see: go help gopath
     
  9. Lee Sharp

    Lee Sharp Sr. Member

    Dec 28, 2015
    308
    217
    Male
    Independent Consultant
    Houston, Texas
    You will need to use what ever your Linux distribution uses for packag management to install it. That could be dnf, yum, apt-get... And then use your own home directory, not pedro's.
     
    tacotime likes this.
  10. jimmy16

    jimmy16 Jr. Member

    Jan 8, 2016
    143
    33
    Male
    #10 jimmy16, Jan 8, 2016
    Last edited: Jan 8, 2016
    Thanks,, sleepy noobS! ;)

    DsYYq43fQwFAxXdpLq2JtFtc55VdWUcszsx
     
  11. pedropilla

    pedropilla New Member

    Jan 5, 2016
    5
    5
    Male
    and you can try to get your customized address like that:

    while $(! grep pilla key); do ./dcraddrgen key; done

    in my case I want 'pilla' on the string, not necessarily after Ds
     
  12. nat

    nat New Member

    Jan 4, 2016
    6
    4
    sysadmin
    NYC
    Here is a bash script I adapted from Karman's post in another thread:

    Code:
    #!/bin/bash
    
    TEXT=nat
    
    COUNTER=0
    STAY=1
    TMPFILE=vanity
    
    while [ $STAY -eq 1 ]; do
    rm $TMPFILE
    dcraddrgen -noseed $TMPFILE >/dev/null
    grep $TEXT $TMPFILE >/dev/null
    grep Addr $TMPFILE| awk '{print $2}' | xargs grep ^..$TEXT >/dev/null
    STAY=$?
    COUNTER=$[$COUNTER+1]
    echo -ne "\rSearching: $COUNTER"
    done
    
     
    Renato Abreu and pedropilla like this.
  13. pedropilla

    pedropilla New Member

    Jan 5, 2016
    5
    5
    Male
    Nice!
     
  14. Renato Abreu

    Renato Abreu Jr. Member
    Advocate (Twitter)

    Jan 3, 2016
    252
    45
    Male
    Programador
    Brazil
    Very best.


     

Share This Page