t8 / arlink

πŸ”— An Arweave tag specification for cross-chain wallet linking

Home Page:https://arlink.tateberenbaum.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project ArLink πŸ”—

A tag specification for linking Arweave wallets to other cryptocurrency wallets

User-Interface

You can find a UI for ArLink on the Arweave Permaweb or at arlink.tateberenbaum.com.

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

About

πŸ”— An Arweave tag specification for cross-chain wallet linking

https://arlink.tateberenbaum.com

License:MIT License


Languages

Language:Vue 83.5%Language:HTML 9.7%Language:JavaScript 6.8%