dapplooker-visualizer-sdk
v0.0.1
Published
A DappLooker Visualizer SDK Components
Downloads
7
Maintainers
Readme
DappLooker Visualizer SDK
DappLooker aims to empower everyone to easily understand blockchain data, do analytics and easily build beautiful charts and dashboards. You can build and share key metrics for Defi, NFT, gaming, and multi-chain protocols.
What We Do ?
DappLooker is a Web3 analytics platform that is dedicated to making blockchain analytics accessible and simplified for everyone. Our goal is to provide a seamless and user-friendly experience With our intuitive, no-code platform, you can effortlessly analyze blockchain networks and Dapps. Our No-code interface allows you to create stunning charts and dashboards, enabling you to visualize and understand complex blockchain data without the need for coding skills.
📚 Read our comprehensive documentation to learn how to start building with DappLooker.
DappLooker Visualizer Components
The dapplooker visualizer compoenets provides developers with programmatic access and visualize to reliable and comprehensive blockchain data in the Web3 environment. By integrating the DappLooker Visualizer Compoenets, you can easily retrieve popular charts table for your decentralized applications (Dapps).
Node version: >=14
Installation
To start using the DappLooker Visulaizer Components, follow these steps:
1. Install the package:
npm install dapplooker-visualizer-sdk
2. Import the package
Once you have installed our package, import it into your project. With the imported package, use it as a component and pass the JSON response as a attribute or props with the component. You can get the JSON reponse by making Chart API calls from our the Dapplooker SDK
Example (ReactJS)
Here's an example of ReactJS project of how you can use our Visualizer component just like a normal React component:
//App.tsx (Typescript)
import {useEffect, useState} from 'react';
import './App.css';
import {DappLookerChartsAPI} from 'dapplooker-sdk';
import {DLTableReactElement} from 'dapplooker-ui-sdk';
function App() {
const [chartData, setChartData] = useState([]);
useEffect(() => {
//Make Chart API Call
getAPIData();
}, []);
const getAPIData = async () => {
try {
let chartId = 'ENTER_CHART_UUID'; //Replace Chart UUID Here
let key = 'ENTER_API_KEY'; //Your API Key Here
let response = await DappLookerChartsAPI.getChartData(
chartId,
key,
'json'
);
setChartData(response);
} catch (error) {
console.error(error);
}
};
return (
<>
<div>
<DLTableReactElement data={chartData}></DLTableReactElement>
</div>
</>
);
}
export default App;
Example (Angular)
Here's an example of a Angular project of how you can use our Visualizer component just like a normal Angular component:
- Import our package in
app.module.ts
file - Import
CUSTOM_ELEMENTS_SCHEMA
from@angular/core
in schemas which enables external components to use in your package.
//app.module.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import 'dapplooker-visualizer-sdk';
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
bootstrap: [AppComponent]
})
export class AppModule { }
- Add the component just like a normal angular component, and pass the JSON data as an attribute.
//app.component.html
<chart-table [data]="chartData">
</chart-table>
3. Output
Here's the output of the DappLooker's Visualizer Component
By integrating the dapplooker visualizer components into your Dapp, you can easily access chart API data in form of tables and utilize the most reliable and comprehensive blockchain data in the Web3 environment. Start exploring the possibilities and enhancing your decentralized applications with DappLooker Visualizer Components today!
Resources
- Website To checkout our Product.
- Docs For comprehensive documentation.
- Medium To learn more about our partners, new launches, etc.
- GitHub for source code, project board, issues, and pull requests.
- Youtube Subscribe to our YouTube channel for video tutorials, demos, and informative content.
Contributing
We invite you to become a valued member of the DappLooker community, an open-source project committed to transparency in our development process. We appreciate any contributions you can make, whether it's helping us identify and fix bugs, suggesting new features, improving our documentation, or spreading the word about DappLooker.
If you come across any errors or issues while using DappLooker, please take a moment to create a bug report. Your feedback is invaluable in improving the reliability. We also value the importance of comprehensive documentation. If you find any gaps or areas that need improvement in our documentation, please don't hesitate, Your suggestions will enable us to provide better resources for our users.
If you're unsure where to begin or need assistance, we invite you to join our Discord community. We'll be more than happy to help you get started on your journey with DappLooker.
Social Links
Follow us to stay updated with the latest news and updates!
Discord | Twitter | Telegram | Linkedin