Skip to content

Latest commit

 

History

History
113 lines (89 loc) · 3.24 KB

turtlenetwork_port.md

File metadata and controls

113 lines (89 loc) · 3.24 KB

CryptoBrokers WAVESGUI Port

Dependencies

  • Port @turtlenetwork/signature-adapter
  • Port @turtlenetwork/waves-transactions
  • Port @turtlenetwork/data-service
    • Change first seeded asset to TN
    • Run using PostgreSQL DB with data from TN Network
    • Verify correct asset-pair discovery
    • Generate Candles
  • Check compatibility of blockchain-postgres-sync with TN
    • Downloads transactions
  • Fix hashing to be compatible with Testnet (Byte 108)
  • Fix Data-service to generate candlesticks
  • Fix bug where data-services without api path /v0 will not work (config.ts)
  • Check compatibility with TN Matcher

Wallet

  • Change Base currency to TN
  • Update fees document
  • Account Creation
    • Import accounts
      • Use existing seed
      • Use Private Key
      • Use keystore file
      • Use ledger device
      • Waves Keeper?
    • Creating Account
      • Generate a Account with new account address
  • Transactions
    • Show Balance
    • Send TN
    • Send other Assets
    • Receive TN
    • Show Transactions
    • Show all assets
    • Mass Transfer
    • Receive via QR Code
    • Generating invoice?
    • Send via QR Code
  • Allow for seeds that are not 15 words

Exchange

  • Change default currency to TN

Technical Debt/Hard coded

  • Change WelcomeCtrl.js to load correct asset pairs
  • Fix mixing of pulling config from local config and .git config

Aesthetic

  • Remove header notifying of moving of Waves DEX
  • Fix labelling

Infrastructure

  • Design Kubernetes architecture to run GUI
  • Write Ansible Playbooks for hardened hosts designs
  • Disable Sentry.io
  • Disable Google-analytics

Bugs to Fix

  • Fix verification of transactions on send (waves-send.html)
<div class="margin-top-3">
    <w-sign-button on-click="$ctrl.createTx()"
                   on-success="$ctrl.onSignTx(signable)"
                   disabled="$ctrl.wavesSend.$invalid || !$ctrl.hasFee">

Notes:

  • Data-service in waves is deployed behind some external version controlling proxy
  • Environment variables on windows need to be exported locally

How to run

Deploy Postgres docker run -d -p 5432:5432 --name my-postgres -e POSTGRES_PASSWORD=mysecretpassword postgres:latest

https://medium.com/better-programming/connect-from-local-machine-to-postgresql-docker-container-f785f00461a7

From the blockchain-postgres-sync run

npm run migrate -- --connection postgresql://postgres:mysecretpassword@localhost:5432/tndb

npm run updateComposite

From Dataservice export $(cat variables.env | xargs) && NODE_ENV=production node dist/index.js

Fees

Config/{environment}/feeConfigUrl

  • Dex
  • show graps)
  • can find assets by asset id ( besides default assets)
  • remove sentry
  • connect to TurtleShell
    • client asks to connect to turtleshell
    • import account works from turtleshell
  • remove migration stuff
  • find out what data is readed from the data oracle and how we can use it
  • solve all console errors
  • make mainnet work
  • gateway TN (will only work for mainnet) PIPELINE/BUILD PROCESS
  • add somehow off basic testing/verification
  • fix bug after auto logout, you can't log in again