@targecy/sdk
v0.3.25
Published
The SDK that allows you to interact with the Targecy protocol
Downloads
49
Maintainers
Readme
Targecy SDK
Introduction
This SDK helps you interact with Targecy's network by providing a set of components and functions to easily build your own application on top of Targecy.
Setup
Install
npm install @targecy/sdk
or
yarn add @targecy/sdk
Usage
To show an Ad, you can use the <Ad />
component.
import { Ad } from '@targecy/sdk';
<Ad publisher="0xAddress">
To fetch credentials, you can use the useCredentials
hook.
import { useCredentials } from '@targecy/sdk';
You can also customize styling. Please refer to our wizard to generate the code.
Please see our Demo Publisher for a complete example.
For help please contact us at [email protected].