Dero Web Wallet derosuite. This repo contains changes required for webwallet. With this changes any Dero daemon can become web wallet. All changes are related to daemon rpc server and wallet to make it light and faster.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
637B

  1. #!/usr/bin/env bash
  2. # patch is generated by
  3. # make sure seed node is rebased
  4. # git diff master seednode > $GOPATH/src/seednode_patch
  5. #
  6. CURDIR=`/bin/pwd`
  7. BASEDIR=$(dirname $0)
  8. ABSPATH=$(readlink -f $0)
  9. ABSDIR=$(dirname $ABSPATH)
  10. cd $ABSDIR/../../../../
  11. GOPATH=`pwd`
  12. version=`cat src/github.com/deroproject/derosuite/config/version.go | grep -i version |cut -d\" -f 2`
  13. cd src
  14. echo "Apply seed node patch"
  15. patch -p1 < seednode_patch
  16. echo "Building..."
  17. go build -o ${ABSDIR}/build/seednode_derod -tags debug "github.com/deroproject/derosuite/cmd/derod"
  18. echo "Reversing seed node patch"
  19. patch -p1 -R < seednode_patch
  20. cd $CURDIR