Coder Social home page Coder Social logo

stellar-uri's Introduction

StellarGuard

StellarGuard - protect your Stellar Lumens with multisig and two factor auth.

Getting Started

Prerequisites

In order to develop locally, you will need to install the following on your system:

NodeJS - Requires Node 10.13.0 or above, used for building the UI code and running the server

Yarn - Used for package management

Postgres - Requires Postgres 9.6 or above

Redis - Requires Redis 4.0 or above

After forking and cloning the repo:

  1. Start the Postgres server -- a make command make docker-start will automatically start up the Postgres and Redis server in local container
  2. Start the Redis server.
  3. ./setup.sh - This will create your .env.dev.local configuration file, install project dependencies, and create the stellarguard database

Running the develoment server

yarn dev - This builds the UI and starts a nodejs server on port 3000. Open your browser to http://localhost:3000 after running this

Technologies Used

Server

Front End

Data stores

Project Structure

src/server - Code for the NodeJS server

src/ui - Code for the React-based UI

src/shared - Code that is shared in both the UI and Server (such as validations)

migrations - This is where database migrations are stored. Run migrations using db-migrate up and create migrations with db-migrate create <migration name>). See https://db-migrate.readthedocs.io/ for usage instructions

scripts - Standalone scripts such as deployment scripts and configuration

License

MIT

stellar-uri's People

Contributors

dependabot[bot] avatar pselden avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

andywer qaliyevq

stellar-uri's Issues

URL is not defined

  • I'm submitting a ...
    [x] bug report
    [] feature request
    [] question about the decisions made in the repository
    [] question about how to use this project

  • Summary
    Trying to create a uri from a transaction object and getting the error

ReferenceError: URL is not defined
    at new TransactionStellarUri (/Users/tyler/Desktop/Web/StellarAuth/stellarauth-serverless/.webpack/service/webpack:/node_modules/@stellarguard/stellar-uri/build/module/lib/transaction-stellar-uri.js:17:1)
    at Function.forTransaction (/Users/tyler/Desktop/Web/StellarAuth/stellarauth-serverless/.webpack/service/webpack:/node_modules/@stellarguard/stellar-uri/build/module/lib/transaction-stellar-uri.js:9:1)
    at forTransaction (/Users/tyler/Desktop/Web/StellarAuth/stellarauth-serverless/.webpack/service/webpack:/handler.js:185:41)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7)

Looks like the URL package is missing somewhere.

https://github.com/stellarguard/stellar-uri/blob/master/src/lib/transaction-stellar-uri.ts#L19

  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

[BUG] Improper encoding for `callback`

  • I'm submitting a ...
    [x ] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary

Found in [https://stellarguard.github.io/stellar-uri/demo/], Sample TX URI. callback should start by uri: but the column gets encoded to %3A.

  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.