Updating NFTs to Core and adding token metadata.

This commit is contained in:
Blockiosaurus
2024-12-15 19:24:42 -05:00
parent ff77c6a5aa
commit 9f308de533
8 changed files with 1245 additions and 1499 deletions

View File

@@ -49,9 +49,12 @@ export class SolanaAgentKit {
async deployToken(
decimals: number = DEFAULT_OPTIONS.TOKEN_DECIMALS,
// initialSupply?: number
name: string,
uri: string,
symbol: string,
initialSupply?: number,
) {
return deploy_token(this, decimals);
return deploy_token(this, decimals, name, uri, symbol, initialSupply);
}
async deployCollection(options: CollectionOptions) {