GithubHelp home page GithubHelp logo

eduardo-anosa-evardonie-jr / vault-ios Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.83 MB

Multi-signature security on the Stellar network for iOS. ๐Ÿ”‘๐Ÿ—๏ธ๐Ÿ”‘

Home Page: https://lobstr.co/

License: GNU General Public License v3.0

Swift 99.78% Ruby 0.22%

vault-ios's Introduction

LOBSTR-Vault

LOBSTR Vault - Multi-signature security on the Stellar network.

This repository contains the source code of the LOBSTR Vault transaction signer app with local key storage for iOS mobile platform.

LOBSTR Vault uses multisignature technology of the Stellar Network and allows you to create a local signer account and verify transactions from multiple Stellar accounts.

Main features

  • Create new signer account on the Stellar Network or recover existing account
  • Local key storage - private keys never leave your device
  • Recover existing account. Mnemonic (BIP39) support for account backups
  • Fully integrated with LOBSTR wallet and StellarTerm.com
  • LOBSTR Vault signer account can sign transactions of one or more Stellar accounts
  • Install LOBSTR Vault on multiple devices to protect one Stellar account with N of N multisig setup
  • View and sign transactions on the Stellar Network
  • Import transaction XDRs for signatures
  • Receive signature requests with PUSH notifications
  • Protect your account with PIN and biometric authentication
  • Available for iOS and Android devices

Developers: Integrate LOBSTR Vault with your service

Are you a representative or a developer of a wallet, exchange or service on the Stellar Network and looking to integrate the support of the LOBSTR Vault signer app with your solution?

To integrate LOBSTR Vault with your service, please follow the simple steps below:

  • Check if a Stellar account is protected by LOBSTR Vault

To confirm that LOBSTR Vault is used to protect a certain Stellar account, check the account.signers property of Stellar account and look for signer with the following public key:

GA2T6GR7VXXXBETTERSAFETHANSORRYXXXPROTECTEDBYLOBSTRVAULT

Example of signers property:

"signers": [
    {
      "weight": 10,
      "key": "GDXRCYMVIZ76WWEJ23Q5UVB2ICDIVVPWD2STXNHLPOIY5EXHBLO5U2GJ",
      "type": "ed25519_public_key"
    },
    {
      "weight": 1,
      "key": "GA2T6GR7VXXXBETTERSAFETHANSORRYXXXPROTECTEDBYLOBSTRVAULT",
      "type": "ed25519_public_key"
    },
    {
      "weight": 10,
      "key": "GCG5XRQF7KOVT47RNWBHOPP2QJCNRCWDRXQ64SC7T7K5AGC5WHR4B4IK",
      "type": "ed25519_public_key"
    }
  ],

In order to submit users' signed transactions to LOBSTR Vault for additional signatures, please make a POST request to https://vault.lobstr.co/api/transactions/ with XDR data of transaction sent in the body of request.

No authentication required.

Please see the cURL example below:

curl 'https://vault.lobstr.co/api/transactions/'  -d '{"xdr": "AAAAADHO3Y+T41Lpy8prDeQ5yOs1nQHE5u9IsLeaYnKwA7XkAAAAZAD8XysAAACnAAAAAAAAAAAAAAABAAAAAAAAAAsAAAAAAAAAAQAAAAAAAAAA"}' -H "Content-Type: application/json"

  • Submitting unsigned transactions

LOBSTR Vault has a built-in protection layer that allows users to select whether they want to receive transaction requests that don't contain any valid signatures.

When you submit a transaction to LOBSTR Vault for additional signatures, you might receive the following response:

Status code: 403 Forbidden

{
  "detail": "Signers of this account do not allow unsigned transactions. Attach a valid signature and resubmit the XDR."
}

This response indicates that all signers of the protected account have opted not to receive transactions that don't contain valid signatures from the protected account itself or other signers.

You should attach a valid signature to this transaction and resubmit the transaction XDR using the /transactions endpoint.

Support

Have any questions or encountered an issue?

Visit the LOBSTR Vault Help Center for a list of frequently asked questions or Contact Support if the issue persists.

Links

License

LOBSTR Vault is an open source software and is licensed under the GNU General Public License v3.0. Please understand the license carefully before using LOBSTR Vault.

vault-ios's People

Contributors

let-it-snow avatar light-cloud avatar cloudy-d avatar gpg90 avatar

Watchers

James Cloos avatar

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.