Code Monkey home page Code Monkey logo

arlink's Introduction

Project ArLink ๐Ÿ”—

A tag specification for linking Arweave wallets to other cryptocurrency wallets

Why?

I created ArLink with the intentions of establishing a way to get a user's Ethereum wallet address from the Arweave. By having Arweave users link their accounts to other blockchains, profit-sharing communities can choose to pay out users in other cryptocurrencies not on the weave.

Tag Specification

See this example:

Application: "ArLink"
Chain: "ETH"
Wallet: "0x614B0d11A0439A0791E8b96b2107582bDcB3B018"

The Chain and Wallet tags are customizable to whatever the user wants. Because of this, nobody necessarily has to use a currency listed on my POC site. This specification, though simple, will allow for an easy and straightforward way for people to pull external wallet addresses of a given user.

Querying for Wallets

In order to query for a wallet address from a different blockchain, see the GraphQL examples below:

To get all transactions of linked wallets for a given user:

query {
  transactions(
    owners: ["pvPWBZ8A5HLpGSEfhEmK1A3PfMgB_an8vVS6L14Hsls"]
    tags: [
      { name: "Application", values: "ArLink" }
    ]
  ) {
    edges {
      node {
        id
      }
    }
  }
}

To get all linked wallets of a currency for a given user:

query {
  transactions(
    owners: ["pvPWBZ8A5HLpGSEfhEmK1A3PfMgB_an8vVS6L14Hsls"]
    tags: [
      { name: "Application", values: "ArLink" }
      { name: "Chain", values: "ETH" }
    ]
  ) {
    edges {
      node {
        id
      }
    }
  }
}

Contributing

I'd love to continue expanding this specification with the help of anyone interested. Feel free to fork and make a PR with any additions (or fixes)!

Frontend Project Setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

TEST 3

arlink's People

Contributors

t8 avatar rekpero 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.