1.0.6 • Published 2 years ago

@multifarm/solana-realms v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Multifarm - Solana Realms Widget

DAO Wallets and Assets widget developed by Multifarm for Solana Realms

Installation

The library has three peer dependencies: react, react-dom and recharts.

Integrate the library into your React/Next project using the following command:

yarn add @multifarm/solana-realms recharts

Usage

Import the widget and styles from the installed library.

import { SolanaBreakdowns } from '@multifarm/solana-realms';
import '@multifarm/solana-realms/dist/multifarm-solana-realms.css';

Render the widget in the desired place and pass it wallet addresses that it should analyse.

<SolanaBreakdowns wallet={props.wallet} />
/*
  export interface Wallet {
    address: string;
    governanceAddress?: string;
    assets: Asset[];
  }

  export type Asset =
    | Mint
    | NFTCollection
    | Domains
    | Programs
    | RealmAuthority
    | Sol
    | Token
    | Unknown
    | TokenOwnerRecordAsset
*/
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago