diff --git a/docs/assets/material-style.css b/docs/assets/material-style.css new file mode 100644 index 000000000..b7e1d318d --- /dev/null +++ b/docs/assets/material-style.css @@ -0,0 +1,247 @@ +@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"); + +:root, +:root[data-theme="light"], +:root[data-theme="dark"] { + --font-sans: "Space Grotesk", sans-serif; + --font-mono: "Space Mono", monospace; + + --color-background: var(--md-sys-color-surface-container); + --color-background-secondary: var(--md-sys-color-surface-container-high); + --color-background-warning: var(--md-sys-color-error-container); + --color-warning-text: var(--md-sys-color-on-error-container); + --color-icon-background: var(--md-sys-color-on-primary); + --color-accent: var(--md-sys-color-secondary-container); + --color-active-menu-item: var(--md-sys-color-surface-container-highest); + --color-text: var(--md-sys-color-on-surface); + --color-text-aside: var(--md-sys-color-on-surface-variant); + --color-link: var(--md-sys-color-primary); + + --color-ts-project: var(--md-sys-color-secondary); + --color-ts-module: var(--color-ts-project); + --color-ts-namespace: var(--color-ts-project); + + --color-ts-enum: var(--md-sys-color-tertiary); + --color-ts-enum-member: var(--color-ts-enum); + + --color-ts-variable: var(--md-sys-color-primary); + --color-ts-function: var(--md-sys-color-secondary); + --color-ts-class: var(--md-sys-color-tertiary); + --color-ts-interface: var(--md-sys-color-tertiary); + + --color-ts-constructor: var(--md-sys-color-inverse-primary); + + --color-ts-property: var(--md-sys-color-on-background); + --color-ts-method: var(--color-ts-function); + + --color-ts-call-signature: var(--color-ts-method); + --color-ts-index-signature: var(--color-ts-property); /* ? */ + --color-ts-constructor-signature: var(--color-ts-function); + --color-ts-parameter: var(--md-sys-color-primary); + + --color-ts-type-parameter: var(--md-sys-color-tertiary); + --color-ts-accessor: var(--color-ts-property); + --color-ts-get-signature: var(--color-ts-accessor); + --color-ts-set-signature: var(--color-ts-accessor); + --color-ts-type-alias: var(--md-sys-color-tertiary); + + /* --external-icon: var(--md-sys-external-icon); + --color-scheme: var(--md-sys-color-scheme); */ + + --top-app-bar-height: 4.5rem; + --footer-height: 3.5rem; +} + +body { + font-family: var(--font-sans); +} +code, +pre { + font-family: var(--font-mono); +} + +img { + max-width: 100%; +} + +*::-webkit-scrollbar { + width: 8px; + height: 8px; +} +*::-webkit-scrollbar-track { + background: none; +} +*::-webkit-scrollbar-thumb { + border: none; +} + +.container-main { + min-height: calc(100vh - var(--top-app-bar-height) - var(--footer-height)); +} +.col-content { + overflow: hidden; + box-sizing: border-box; + padding: 1.75rem; + border-radius: 28px; + background-color: var(--md-sys-color-surface); +} +.page-menu { + height: fit-content; + padding: 0.75rem 1.75rem; + border-radius: 28px; + background-color: var(--md-sys-color-surface); +} +.site-menu > *, +.page-menu > * { + position: relative; +} +.title { + display: block; + max-width: calc(100% - 5rem); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + font-size: 22px; +} + +.tsd-page-toolbar { + padding: 8px 0; + height: calc(var(--top-app-bar-height) - 16px); + background-color: var(--color-background); + border-bottom: none; +} +.tsd-page-toolbar .tsd-toolbar-contents { + height: 56px; +} +.tsd-page-toolbar .table-cell { + height: 56px; + margin-left: 1.5rem; +} +.tsd-page-toolbar .tsd-toolbar-icon { + padding: 20px 0; +} +#tsd-search { + line-height: 56px; + border-radius: 22px; +} +#tsd-search .results { + z-index: -1; + top: calc(56px - 22px); + padding-top: 22px; + box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.125); + background-color: var(--color-background-secondary); + border-bottom-left-radius: 22px; + border-bottom-right-radius: 22px; + overflow: hidden; +} +#tsd-search .results li { + background: none; +} +#tsd-search .results a { + padding: 1rem 0.25rem; +} +.col-sidebar { + padding-top: 0; + margin-right: 1rem; +} + +.tsd-signature { + padding: 1rem 1.5rem; + border-radius: 24px; + background-color: var(--md-sys-color-surface-container); +} + +.tsd-page-navigation ul { + padding-left: 0.44rem; +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + padding: 0.88rem; + border-radius: 24px; +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: none; + background-color: var(--md-sys-color-surface-container-high); +} +.page-menu .tsd-accordion-summary svg { + position: absolute; + right: 0; +} +.site-menu .tsd-navigation .tsd-accordion-summary { + display: flex; + flex-direction: row-reverse; + width: 100%; +} + +.tsd-small-nested-navigation { + margin-left: 1rem; +} +.tsd-nested-navigation { + margin-left: 2.5rem; +} +.tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: 100%; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: 100%; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + position: absolute; + right: 1.5rem; + margin-top: 1rem; +} +.tsd-accordion-summary .tsd-kind-icon ~ span { + margin-right: 2.5rem; +} +.tsd-accordion-summary .tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: calc(100% - 0.44rem); +} +.tsd-kind-icon ~ span { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.tsd-generator { + padding: 0; + border-top: none; + height: var(--footer-height); + line-height: var(--footer-height); +} +.tsd-generator > p { + padding: 0 2rem; +} + +@media (max-width: 769px) { + .container { + padding: 1rem; + } + .col-sidebar { + margin-right: 0; + } +} +@media (min-width: 770px) { + .container-main { + margin: 0 auto; + } + .site-menu { + margin-right: 0.5rem; + } +} +@media (min-width: 1200px) { + .page-menu, + .site-menu { + max-height: calc(100vh - var(--footer-height) - var(--top-app-bar-height)); + top: var(--top-app-bar-height); + } + .page-menu { + margin-left: 1rem; + } + .col-sidebar { + margin-right: 0; + } +} diff --git a/docs/classes/_solana_suite_compressed_nft.CompressedNft.Space.html b/docs/classes/_solana_suite_compressed_nft.CompressedNft.Space.html index 1aa5a56ff..14c14842c 100644 --- a/docs/classes/_solana_suite_compressed_nft.CompressedNft.Space.html +++ b/docs/classes/_solana_suite_compressed_nft.CompressedNft.Space.html @@ -1,4 +1,177 @@ -
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Calculate space cost
+Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
create a new nft space +
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Find nft by collection mint
+Generated using TypeDoc
Generated using TypeDoc
Find nft by mint address
+Generated using TypeDoc
Generated using TypeDoc
Find nft by owner address
+Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
create a new markle tree +
create a new markle tree This function needs only 1 call
Promise<Result<MintTransaction, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Upload content and Compressed NFT mint
+Upload content and Compressed NFT mint
// owner's Secret
{ name: string // nft content name @@ -18,4 +176,19 @@
// Previously created collectionMint
// mint options
Promise<Result<MintTransaction, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Set delegate
+Set delegate
// target mint
// new delegate or previous delegate signer
Promise<Result<Transaction, Error>>
-Generated using TypeDoc
Generated using TypeDoc
transfer nft
+Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Create multisig
+Create multisig
// number of multisig
// memo owner
// signers
Promise<Result<CommonStructure
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Check if it is a multisig address
+Generated using TypeDoc
Generated using TypeDoc
Adding new token to existing token
+Adding new token to existing token
//phantom wallet object
Promise<Result<string, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Mint new spl-token
+Mint new spl-token
//phantom wallet object
Promise<Result<string, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Upload content and NFT mint
+Upload content and NFT mint
//phantom wallet object
Promise<Result<string, Error | ValidatorError>>
-Generated using TypeDoc
Generated using TypeDoc
Burn existing token
+Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Find nft by collection mint
+Generated using TypeDoc
Generated using TypeDoc
Find nft by mint address
+Generated using TypeDoc
Generated using TypeDoc
Find nft by owner address
+Generated using TypeDoc
Generated using TypeDoc
Freezing a target nft +
Freezing a target nft it should set to freezeAuthority when mint()
// mint address
// current owner
Result<CommonStructure, Error>
-Generated using TypeDoc
Generated using TypeDoc
Mint without solana sol, delegate feepayer for commission
+Mint without solana sol, delegate feepayer for commission
// owner's Secret
{ name: string // nft content name @@ -19,4 +177,19 @@
// fee payer
// options
Promise<Result<PartialSignStructure, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Transfer without solana sol, delegate feepayer for commission
+Transfer without solana sol, delegate feepayer for commission
Promise<Result<PartialSignStructure, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Upload content and NFT mint
+Upload content and NFT mint
// owner's Secret
{ name: string // nft content name @@ -18,4 +176,19 @@ }
// options
Promise<Result<MintInstruction, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Thawing a target NFT +
Thawing a target NFT it should set to freezeAuthority when mint()
// mint address
// current owner
// setted freeze authority of nft
// options
-Generated using TypeDoc
Generated using TypeDoc
Transfer NFT
+Transfer NFT
// mint address
// current owner
// new owner
// options
-Generated using TypeDoc
Generated using TypeDoc
Find nft by owner address
+Generated using TypeDoc
Generated using TypeDoc
Transfer without solana sol, delegate feepayer for commission
+Transfer without solana sol, delegate feepayer for commission
Promise<Result<PartialSignStructure, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Transfer NFT for only multiSig account
+Transfer NFT for only multiSig account
// current multisig owner
// new owner
// owner or multisig account Secret
// want to transfer SOL amount
// options
-Generated using TypeDoc
Generated using TypeDoc
Transfer NFT for only multiSig account +
Transfer NFT for only multiSig account NOTICE: There is a lamports fluctuation when transfer under 0.001 sol
// current multisig owner
// new owner
// multisig account Secret
// want to transfer SOL amount
// options
-Generated using TypeDoc
Generated using TypeDoc
Adding new token to existing token
+Adding new token to existing token
Promise<Result<string, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Burn existing token
+Burn existing token
Result<CommonStructure, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Fetch minted metadata by mint address
+Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Freezing a target nft +
Freezing a target nft it should set to freezeAuthority when mint()
// mint address
// current owner
// current owner
// options
-Generated using TypeDoc
Generated using TypeDoc
Transfer without solana sol, delegate feepayer for commission
+Transfer without solana sol, delegate feepayer for commission
Promise<Result<PartialSignStructure, Error>>
-Generated using TypeDoc
Generated using TypeDoc
SPL-TOKEN mint
+SPL-TOKEN mint
// token owner Secret
// total number
// token decimal
// token metadata
// options
Promise<Result<MintInstruction, Error>>
-Generated using TypeDoc
Generated using TypeDoc
Thawing a target NFT +
Thawing a target NFT it should set to freezeAuthority when mint()
// mint address
// current owner
// setted freeze authority of nft
// options
-Generated using TypeDoc
Generated using TypeDoc
Transfer NFT for only multiSig account
+Transfer NFT for only multiSig account
// minted account
// current multisig owner
// new owner
@@ -6,4 +164,19 @@// want to transfer SOL amount
// minted token decimal
// options
-Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Reuqest airdrop SOL +
- Preparing search index...
- The search index is not available
Solana Suite API ReferenceFunction request
Reuqest airdrop SOL only devnet, testnet
Parameters
pubkey: Pubkey
options: Partial<AirdropOptions> = {}
Returns Promise<Result<string, Error>>
Promise<Result<string, Error>>
-Settings
Member Visibility
Theme
Generated using TypeDoc