mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-06-07 15:11:47 +00:00
Updating NFTs to Core and adding token metadata.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user