Skip to content

Build your own wallet for Ethereum using Amberdata.io! Example code uses account transactions and account balance

License

Notifications You must be signed in to change notification settings

amberdata/amberdata-example-wallet

Repository files navigation

amberdata-example-wallet

Build your own wallet for Ethereum using Amberdata.io! Example code uses account transactions and account balance

Check out the demo page!

Clone:

git clone git@github.com:amberdata/amberdata-example-wallet.git

1. Get API Key

Go to amberdata.io and click "Get started"

2. Build:

Building with Amberdata.io is as simple as a few axios request:

let getAddressBalance = async (address) => {
        return await axios({
            method:'get',
            url: `https://web3api.io/api/v1/addresses/${address}/account-balances?page=0&size=1`,
            headers: {"x-api-key": "YOUR_API_KEY_HERE"}
        })
    }

let getAddressTransactions = async (address) => {
    return await axios({
        method:'get',
        url: `https://web3api.io/api/v1/addresses/${address}/transactions?page=0&size=10`,
        headers: {"x-api-key": "YOUR_API_KEY_HERE"}
    })
}

See source here.

Resources

Licensing

This project is licensed under the Apache Licence 2.0.

About

Build your own wallet for Ethereum using Amberdata.io! Example code uses account transactions and account balance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •