Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

torosdk

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

torosdk - npm Package Compare versions

Comparing version
0.1.3
to
0.2.0
+21
-1
dist/index.d.mts

@@ -526,2 +526,3 @@ /**

connectWURL: string;
deployerURL: string;
}

@@ -532,4 +533,20 @@ interface SDKConfigOptions {

connectWURL?: string;
deployerURL?: string;
}
type DeployContractInput = {
owner: string;
constructorArgs: any[];
abi: any[];
bytecode: string;
token?: string;
network?: Network;
};
type DeployContractOutput = {
abi: any[];
address: string;
};
declare const deploySmartContract: (input: DeployContractInput) => Promise<DeployContractOutput>;
type StorageQueryInput = {

@@ -1755,2 +1772,4 @@ address?: string;

declare const deployContract: ({ owner, constructorArgs, abi, bytecode, token, network, }: DeployContractInput) => Promise<DeployContractOutput>;
declare class SDKConfiguration {

@@ -1762,2 +1781,3 @@ private config;

getConnectWURL(): string;
getDeployerURL(): string;
getNetwork(): Network;

@@ -1770,2 +1790,2 @@ updateConfig(options: SDKConfigOptions): void;

export { BridgeNetwork, type BridgeTokenParams, type CreateKeystoreInput, type CreateSolanaAddressParams, type CreateToronetSolanaAddressParams, type CreateWalletInput, Currency, type CurrencyOperationInput, type DateRangeQueryInput, type DeleteKeyInput, type DepositFundsInput, type GetAddressBalanceInput, type GetAddressBalanceOutput, type GetBalanceInput, type GetBalanceParams, type GetBridgeTokenFeeParams, type GetProjectInput, type GetTokenBalanceParams, type GetTokenTransactionsParams, type GetTransactionsParams, type InitializeDepositInput, type KYCParams, type Network, type PaymentExtrasInput, type PaymentInitializeCryptoParams, type ProductInput, type QueryRangeInput, type RecordPaymentParams, type RoleDebuggerInput, type RoleOwnerInput, type RoleQueryInput, type RoleSuperAdminInput, type SDKConfig, type SDKConfigOptions, type SetNameInput, type StorageOwnerInput, type StorageQueryInput, type TNSAdminInput, type TNSClientInput, type TNSPermissionInput, type TNSQueryInput, type TokenQueryInput, type TransferSolTokenParams, type TransferSolanaParams, type UpdateKeyPasswordInput, type WithdrawalInput, addAdmin, addDebugger, addSuperAdmin, adminDeleteName, adminSetName, adminUpdateName, allowBurn, allowMint, allowTransfer, bridgeTokenArbitrum, bridgeTokenBSC, bridgeTokenBase, bridgeTokenFromChain, bridgeTokenPolygon, bridgeTokenSol, burnCurrency, checkAddressVerified, configureTNS, confirmDeposit, createKeystore, createSolanaAddress, createToronetSolanaAddress, createVirtualWallet, createWallet, decreaseStorageVersion, deleteKey, deleteName, deleteWallet, depositFunds, disallowBurn, disallowMint, disallowTransfer, enrollAddress, fetchVirtualWallet, fetchVirtualWalletByAddress, freezeAddress, generateVirtualWallet, getAddr, getAddressBalance, getAddressRole, getAddressTransactions, getAddressTransactionsAuth, getAddressTransactionsDollar, getAddressTransactionsEGP, getAddressTransactionsETH, getAddressTransactionsEuro, getAddressTransactionsKSH, getAddressTransactionsNaira, getAddressTransactionsPound, getAddressTransactionsToro, getAddressTransactionsZAR, getAdminByIndex, getAdminIndex, getAllowSelfAllowance, getAllowSelfEnroll, getAllowSelfTransactionFee, getAllowance, getBalance, getBalanceArbitrum, getBalanceBSC, getBalanceBase, getBalancePolygon, getBankListNGN, getBankListUSD, getBlockById, getBlockchainStatus, getBlockchainTransactions, getBlocksData, getBridgeBalance, getBridgeTokenBalance, getBridgeTokenFeeArbitrum, getBridgeTokenFeeBSC, getBridgeTokenFeeBase, getBridgeTokenFeeEstimate, getBridgeTokenFeePolygon, getBridgeTokenFeeSol, getBridgeTokenTransactions, getBridgeTransactions, getCommissionAddress, getCommissionPercentage, getCurrencyBalance, getDebuggerByIndex, getDebuggerIndex, getEventById, getFiatTransactionByTxid, getFiatTransactionsAddressRange, getFiatTransactionsRecorderRange, getFiatWithdrawalByTxid, getFiatWithdrawalsAddressRange, getFiatWithdrawalsRecorderRange, getKey, getLatestBlockData, getMaximumAllowance, getMinimumAllowance, getName, getNumberOfAdmin, getNumberOfDebugger, getNumberOfSuperAdmin, getOwner, getPendingTransaction, getProduct, getProject, getReceipt, getReserve, getRevertReason, getSDKConfig, getSelfAllowance, getSelfMaximumAllowance, getSelfMinimumAllowance, getSelfTransactionFee, getSelfTransactionFeeFixed, getSelfTransactionFeePercentage, getSolBalance, getSolLatestBlock, getSolTokenBalance, getSolTokenTransactions, getSolTransactions, getStorageVersion, getSuperAdminByIndex, getSuperAdminIndex, getSupportedAssetsExchangeRates, getTokenBalance, getTokenBalanceArbitrum, getTokenBalanceBSC, getTokenBalanceBase, getTokenBalancePolygon, getTokenDecimal, getTokenName, getTokenSymbol, getTokenTransactionsArbitrum, getTokenTransactionsBSC, getTokenTransactionsBase, getTokenTransactionsPolygon, getToller, getTotalCap, getTotalCirculating, getTotalReserving, getTransaction, getTransactionById, getTransactionFee, getTransactionFeeFixed, getTransactionFeePercentage, getTransactionReceiptById, getTransactionsArbitrum, getTransactionsBSC, getTransactionsBase, getTransactionsDollarWrapper, getTransactionsEGPWrapper, getTransactionsETHWrapper, getTransactionsEuroWrapper, getTransactionsKSHWrapper, getTransactionsNairaWrapper, getTransactionsPolygon, getTransactionsPoundWrapper, getTransactionsRangeWrapper, getTransactionsToroWrapper, getTransactionsZARWrapper, getVirtualWalletByAddress, getWalletKey, importKey, importWalletFromPrivateKeyAndPassword, increaseStorageVersion, initAdmin, initDebugger, initSuperAdmin, initTNS, initializeDeposit, initializeSDK, isAddrAssigned, isAddressKYCVerified, isAddressUtil, isAdmin, isBurnOn, isContractRegistered, isDebugger, isDeleteOn, isEnrolled, isFrozen, isMintOn, isNameUsed, isOwner, isSetOn, isStorageOn, isSuperAdmin, isTNSAvailable, isTransferOn, isUpdateOn, isValidSolanaAddress, makeInterWalletTransfer, makeInterWalletTransferTxn, mintCurrency, paymentInitializeCrypto, performKYCForCustomer, recordCryptoPayment, recordFiatWithdrawal, recordProduct, registerContract, removeAdmin, removeAllAdmins, removeAllDebuggers, removeAllSuperAdmins, removeDebugger, removeSuperAdmin, resetSDKConfig, retrieveVirtualWallet, setAllowance, setDeleteNameOff, setDeleteNameOn, setMaximumAllowance, setMinimumAllowance, setName, setSetNameOff, setSetNameOn, setStorageOff, setStorageOn, setStorageVersion, setTransactionFee, setTransactionFeeFixed, setTransactionFeePercentage, setUpdateNameOff, setUpdateNameOn, setupKYC, transferCurrency, transferOwnership, transferSolToken, transferSolana, unfreezeAddress, unregisterContract, updateKeyPassword, updateName, updatePassword, updateProduct, updateVirtualWalletTransactions, updateVirtualWalletTxs, verifyBankAccountNameNGN, verifyDeposit, verifyKey, verifySolanaVirtualAddress, verifySolanaVirtualAddressEnc, verifyWalletPassword };
export { BridgeNetwork, type BridgeTokenParams, type CreateKeystoreInput, type CreateSolanaAddressParams, type CreateToronetSolanaAddressParams, type CreateWalletInput, Currency, type CurrencyOperationInput, type DateRangeQueryInput, type DeleteKeyInput, type DeployContractInput, type DeployContractOutput, type DepositFundsInput, type GetAddressBalanceInput, type GetAddressBalanceOutput, type GetBalanceInput, type GetBalanceParams, type GetBridgeTokenFeeParams, type GetProjectInput, type GetTokenBalanceParams, type GetTokenTransactionsParams, type GetTransactionsParams, type InitializeDepositInput, type KYCParams, type Network, type PaymentExtrasInput, type PaymentInitializeCryptoParams, type ProductInput, type QueryRangeInput, type RecordPaymentParams, type RoleDebuggerInput, type RoleOwnerInput, type RoleQueryInput, type RoleSuperAdminInput, type SDKConfig, type SDKConfigOptions, type SetNameInput, type StorageOwnerInput, type StorageQueryInput, type TNSAdminInput, type TNSClientInput, type TNSPermissionInput, type TNSQueryInput, type TokenQueryInput, type TransferSolTokenParams, type TransferSolanaParams, type UpdateKeyPasswordInput, type WithdrawalInput, addAdmin, addDebugger, addSuperAdmin, adminDeleteName, adminSetName, adminUpdateName, allowBurn, allowMint, allowTransfer, bridgeTokenArbitrum, bridgeTokenBSC, bridgeTokenBase, bridgeTokenFromChain, bridgeTokenPolygon, bridgeTokenSol, burnCurrency, checkAddressVerified, configureTNS, confirmDeposit, createKeystore, createSolanaAddress, createToronetSolanaAddress, createVirtualWallet, createWallet, decreaseStorageVersion, deleteKey, deleteName, deleteWallet, deployContract, deploySmartContract, depositFunds, disallowBurn, disallowMint, disallowTransfer, enrollAddress, fetchVirtualWallet, fetchVirtualWalletByAddress, freezeAddress, generateVirtualWallet, getAddr, getAddressBalance, getAddressRole, getAddressTransactions, getAddressTransactionsAuth, getAddressTransactionsDollar, getAddressTransactionsEGP, getAddressTransactionsETH, getAddressTransactionsEuro, getAddressTransactionsKSH, getAddressTransactionsNaira, getAddressTransactionsPound, getAddressTransactionsToro, getAddressTransactionsZAR, getAdminByIndex, getAdminIndex, getAllowSelfAllowance, getAllowSelfEnroll, getAllowSelfTransactionFee, getAllowance, getBalance, getBalanceArbitrum, getBalanceBSC, getBalanceBase, getBalancePolygon, getBankListNGN, getBankListUSD, getBlockById, getBlockchainStatus, getBlockchainTransactions, getBlocksData, getBridgeBalance, getBridgeTokenBalance, getBridgeTokenFeeArbitrum, getBridgeTokenFeeBSC, getBridgeTokenFeeBase, getBridgeTokenFeeEstimate, getBridgeTokenFeePolygon, getBridgeTokenFeeSol, getBridgeTokenTransactions, getBridgeTransactions, getCommissionAddress, getCommissionPercentage, getCurrencyBalance, getDebuggerByIndex, getDebuggerIndex, getEventById, getFiatTransactionByTxid, getFiatTransactionsAddressRange, getFiatTransactionsRecorderRange, getFiatWithdrawalByTxid, getFiatWithdrawalsAddressRange, getFiatWithdrawalsRecorderRange, getKey, getLatestBlockData, getMaximumAllowance, getMinimumAllowance, getName, getNumberOfAdmin, getNumberOfDebugger, getNumberOfSuperAdmin, getOwner, getPendingTransaction, getProduct, getProject, getReceipt, getReserve, getRevertReason, getSDKConfig, getSelfAllowance, getSelfMaximumAllowance, getSelfMinimumAllowance, getSelfTransactionFee, getSelfTransactionFeeFixed, getSelfTransactionFeePercentage, getSolBalance, getSolLatestBlock, getSolTokenBalance, getSolTokenTransactions, getSolTransactions, getStorageVersion, getSuperAdminByIndex, getSuperAdminIndex, getSupportedAssetsExchangeRates, getTokenBalance, getTokenBalanceArbitrum, getTokenBalanceBSC, getTokenBalanceBase, getTokenBalancePolygon, getTokenDecimal, getTokenName, getTokenSymbol, getTokenTransactionsArbitrum, getTokenTransactionsBSC, getTokenTransactionsBase, getTokenTransactionsPolygon, getToller, getTotalCap, getTotalCirculating, getTotalReserving, getTransaction, getTransactionById, getTransactionFee, getTransactionFeeFixed, getTransactionFeePercentage, getTransactionReceiptById, getTransactionsArbitrum, getTransactionsBSC, getTransactionsBase, getTransactionsDollarWrapper, getTransactionsEGPWrapper, getTransactionsETHWrapper, getTransactionsEuroWrapper, getTransactionsKSHWrapper, getTransactionsNairaWrapper, getTransactionsPolygon, getTransactionsPoundWrapper, getTransactionsRangeWrapper, getTransactionsToroWrapper, getTransactionsZARWrapper, getVirtualWalletByAddress, getWalletKey, importKey, importWalletFromPrivateKeyAndPassword, increaseStorageVersion, initAdmin, initDebugger, initSuperAdmin, initTNS, initializeDeposit, initializeSDK, isAddrAssigned, isAddressKYCVerified, isAddressUtil, isAdmin, isBurnOn, isContractRegistered, isDebugger, isDeleteOn, isEnrolled, isFrozen, isMintOn, isNameUsed, isOwner, isSetOn, isStorageOn, isSuperAdmin, isTNSAvailable, isTransferOn, isUpdateOn, isValidSolanaAddress, makeInterWalletTransfer, makeInterWalletTransferTxn, mintCurrency, paymentInitializeCrypto, performKYCForCustomer, recordCryptoPayment, recordFiatWithdrawal, recordProduct, registerContract, removeAdmin, removeAllAdmins, removeAllDebuggers, removeAllSuperAdmins, removeDebugger, removeSuperAdmin, resetSDKConfig, retrieveVirtualWallet, setAllowance, setDeleteNameOff, setDeleteNameOn, setMaximumAllowance, setMinimumAllowance, setName, setSetNameOff, setSetNameOn, setStorageOff, setStorageOn, setStorageVersion, setTransactionFee, setTransactionFeeFixed, setTransactionFeePercentage, setUpdateNameOff, setUpdateNameOn, setupKYC, transferCurrency, transferOwnership, transferSolToken, transferSolana, unfreezeAddress, unregisterContract, updateKeyPassword, updateName, updatePassword, updateProduct, updateVirtualWalletTransactions, updateVirtualWalletTxs, verifyBankAccountNameNGN, verifyDeposit, verifyKey, verifySolanaVirtualAddress, verifySolanaVirtualAddressEnc, verifyWalletPassword };

@@ -526,2 +526,3 @@ /**

connectWURL: string;
deployerURL: string;
}

@@ -532,4 +533,20 @@ interface SDKConfigOptions {

connectWURL?: string;
deployerURL?: string;
}
type DeployContractInput = {
owner: string;
constructorArgs: any[];
abi: any[];
bytecode: string;
token?: string;
network?: Network;
};
type DeployContractOutput = {
abi: any[];
address: string;
};
declare const deploySmartContract: (input: DeployContractInput) => Promise<DeployContractOutput>;
type StorageQueryInput = {

@@ -1755,2 +1772,4 @@ address?: string;

declare const deployContract: ({ owner, constructorArgs, abi, bytecode, token, network, }: DeployContractInput) => Promise<DeployContractOutput>;
declare class SDKConfiguration {

@@ -1762,2 +1781,3 @@ private config;

getConnectWURL(): string;
getDeployerURL(): string;
getNetwork(): Network;

@@ -1770,2 +1790,2 @@ updateConfig(options: SDKConfigOptions): void;

export { BridgeNetwork, type BridgeTokenParams, type CreateKeystoreInput, type CreateSolanaAddressParams, type CreateToronetSolanaAddressParams, type CreateWalletInput, Currency, type CurrencyOperationInput, type DateRangeQueryInput, type DeleteKeyInput, type DepositFundsInput, type GetAddressBalanceInput, type GetAddressBalanceOutput, type GetBalanceInput, type GetBalanceParams, type GetBridgeTokenFeeParams, type GetProjectInput, type GetTokenBalanceParams, type GetTokenTransactionsParams, type GetTransactionsParams, type InitializeDepositInput, type KYCParams, type Network, type PaymentExtrasInput, type PaymentInitializeCryptoParams, type ProductInput, type QueryRangeInput, type RecordPaymentParams, type RoleDebuggerInput, type RoleOwnerInput, type RoleQueryInput, type RoleSuperAdminInput, type SDKConfig, type SDKConfigOptions, type SetNameInput, type StorageOwnerInput, type StorageQueryInput, type TNSAdminInput, type TNSClientInput, type TNSPermissionInput, type TNSQueryInput, type TokenQueryInput, type TransferSolTokenParams, type TransferSolanaParams, type UpdateKeyPasswordInput, type WithdrawalInput, addAdmin, addDebugger, addSuperAdmin, adminDeleteName, adminSetName, adminUpdateName, allowBurn, allowMint, allowTransfer, bridgeTokenArbitrum, bridgeTokenBSC, bridgeTokenBase, bridgeTokenFromChain, bridgeTokenPolygon, bridgeTokenSol, burnCurrency, checkAddressVerified, configureTNS, confirmDeposit, createKeystore, createSolanaAddress, createToronetSolanaAddress, createVirtualWallet, createWallet, decreaseStorageVersion, deleteKey, deleteName, deleteWallet, depositFunds, disallowBurn, disallowMint, disallowTransfer, enrollAddress, fetchVirtualWallet, fetchVirtualWalletByAddress, freezeAddress, generateVirtualWallet, getAddr, getAddressBalance, getAddressRole, getAddressTransactions, getAddressTransactionsAuth, getAddressTransactionsDollar, getAddressTransactionsEGP, getAddressTransactionsETH, getAddressTransactionsEuro, getAddressTransactionsKSH, getAddressTransactionsNaira, getAddressTransactionsPound, getAddressTransactionsToro, getAddressTransactionsZAR, getAdminByIndex, getAdminIndex, getAllowSelfAllowance, getAllowSelfEnroll, getAllowSelfTransactionFee, getAllowance, getBalance, getBalanceArbitrum, getBalanceBSC, getBalanceBase, getBalancePolygon, getBankListNGN, getBankListUSD, getBlockById, getBlockchainStatus, getBlockchainTransactions, getBlocksData, getBridgeBalance, getBridgeTokenBalance, getBridgeTokenFeeArbitrum, getBridgeTokenFeeBSC, getBridgeTokenFeeBase, getBridgeTokenFeeEstimate, getBridgeTokenFeePolygon, getBridgeTokenFeeSol, getBridgeTokenTransactions, getBridgeTransactions, getCommissionAddress, getCommissionPercentage, getCurrencyBalance, getDebuggerByIndex, getDebuggerIndex, getEventById, getFiatTransactionByTxid, getFiatTransactionsAddressRange, getFiatTransactionsRecorderRange, getFiatWithdrawalByTxid, getFiatWithdrawalsAddressRange, getFiatWithdrawalsRecorderRange, getKey, getLatestBlockData, getMaximumAllowance, getMinimumAllowance, getName, getNumberOfAdmin, getNumberOfDebugger, getNumberOfSuperAdmin, getOwner, getPendingTransaction, getProduct, getProject, getReceipt, getReserve, getRevertReason, getSDKConfig, getSelfAllowance, getSelfMaximumAllowance, getSelfMinimumAllowance, getSelfTransactionFee, getSelfTransactionFeeFixed, getSelfTransactionFeePercentage, getSolBalance, getSolLatestBlock, getSolTokenBalance, getSolTokenTransactions, getSolTransactions, getStorageVersion, getSuperAdminByIndex, getSuperAdminIndex, getSupportedAssetsExchangeRates, getTokenBalance, getTokenBalanceArbitrum, getTokenBalanceBSC, getTokenBalanceBase, getTokenBalancePolygon, getTokenDecimal, getTokenName, getTokenSymbol, getTokenTransactionsArbitrum, getTokenTransactionsBSC, getTokenTransactionsBase, getTokenTransactionsPolygon, getToller, getTotalCap, getTotalCirculating, getTotalReserving, getTransaction, getTransactionById, getTransactionFee, getTransactionFeeFixed, getTransactionFeePercentage, getTransactionReceiptById, getTransactionsArbitrum, getTransactionsBSC, getTransactionsBase, getTransactionsDollarWrapper, getTransactionsEGPWrapper, getTransactionsETHWrapper, getTransactionsEuroWrapper, getTransactionsKSHWrapper, getTransactionsNairaWrapper, getTransactionsPolygon, getTransactionsPoundWrapper, getTransactionsRangeWrapper, getTransactionsToroWrapper, getTransactionsZARWrapper, getVirtualWalletByAddress, getWalletKey, importKey, importWalletFromPrivateKeyAndPassword, increaseStorageVersion, initAdmin, initDebugger, initSuperAdmin, initTNS, initializeDeposit, initializeSDK, isAddrAssigned, isAddressKYCVerified, isAddressUtil, isAdmin, isBurnOn, isContractRegistered, isDebugger, isDeleteOn, isEnrolled, isFrozen, isMintOn, isNameUsed, isOwner, isSetOn, isStorageOn, isSuperAdmin, isTNSAvailable, isTransferOn, isUpdateOn, isValidSolanaAddress, makeInterWalletTransfer, makeInterWalletTransferTxn, mintCurrency, paymentInitializeCrypto, performKYCForCustomer, recordCryptoPayment, recordFiatWithdrawal, recordProduct, registerContract, removeAdmin, removeAllAdmins, removeAllDebuggers, removeAllSuperAdmins, removeDebugger, removeSuperAdmin, resetSDKConfig, retrieveVirtualWallet, setAllowance, setDeleteNameOff, setDeleteNameOn, setMaximumAllowance, setMinimumAllowance, setName, setSetNameOff, setSetNameOn, setStorageOff, setStorageOn, setStorageVersion, setTransactionFee, setTransactionFeeFixed, setTransactionFeePercentage, setUpdateNameOff, setUpdateNameOn, setupKYC, transferCurrency, transferOwnership, transferSolToken, transferSolana, unfreezeAddress, unregisterContract, updateKeyPassword, updateName, updatePassword, updateProduct, updateVirtualWalletTransactions, updateVirtualWalletTxs, verifyBankAccountNameNGN, verifyDeposit, verifyKey, verifySolanaVirtualAddress, verifySolanaVirtualAddressEnc, verifyWalletPassword };
export { BridgeNetwork, type BridgeTokenParams, type CreateKeystoreInput, type CreateSolanaAddressParams, type CreateToronetSolanaAddressParams, type CreateWalletInput, Currency, type CurrencyOperationInput, type DateRangeQueryInput, type DeleteKeyInput, type DeployContractInput, type DeployContractOutput, type DepositFundsInput, type GetAddressBalanceInput, type GetAddressBalanceOutput, type GetBalanceInput, type GetBalanceParams, type GetBridgeTokenFeeParams, type GetProjectInput, type GetTokenBalanceParams, type GetTokenTransactionsParams, type GetTransactionsParams, type InitializeDepositInput, type KYCParams, type Network, type PaymentExtrasInput, type PaymentInitializeCryptoParams, type ProductInput, type QueryRangeInput, type RecordPaymentParams, type RoleDebuggerInput, type RoleOwnerInput, type RoleQueryInput, type RoleSuperAdminInput, type SDKConfig, type SDKConfigOptions, type SetNameInput, type StorageOwnerInput, type StorageQueryInput, type TNSAdminInput, type TNSClientInput, type TNSPermissionInput, type TNSQueryInput, type TokenQueryInput, type TransferSolTokenParams, type TransferSolanaParams, type UpdateKeyPasswordInput, type WithdrawalInput, addAdmin, addDebugger, addSuperAdmin, adminDeleteName, adminSetName, adminUpdateName, allowBurn, allowMint, allowTransfer, bridgeTokenArbitrum, bridgeTokenBSC, bridgeTokenBase, bridgeTokenFromChain, bridgeTokenPolygon, bridgeTokenSol, burnCurrency, checkAddressVerified, configureTNS, confirmDeposit, createKeystore, createSolanaAddress, createToronetSolanaAddress, createVirtualWallet, createWallet, decreaseStorageVersion, deleteKey, deleteName, deleteWallet, deployContract, deploySmartContract, depositFunds, disallowBurn, disallowMint, disallowTransfer, enrollAddress, fetchVirtualWallet, fetchVirtualWalletByAddress, freezeAddress, generateVirtualWallet, getAddr, getAddressBalance, getAddressRole, getAddressTransactions, getAddressTransactionsAuth, getAddressTransactionsDollar, getAddressTransactionsEGP, getAddressTransactionsETH, getAddressTransactionsEuro, getAddressTransactionsKSH, getAddressTransactionsNaira, getAddressTransactionsPound, getAddressTransactionsToro, getAddressTransactionsZAR, getAdminByIndex, getAdminIndex, getAllowSelfAllowance, getAllowSelfEnroll, getAllowSelfTransactionFee, getAllowance, getBalance, getBalanceArbitrum, getBalanceBSC, getBalanceBase, getBalancePolygon, getBankListNGN, getBankListUSD, getBlockById, getBlockchainStatus, getBlockchainTransactions, getBlocksData, getBridgeBalance, getBridgeTokenBalance, getBridgeTokenFeeArbitrum, getBridgeTokenFeeBSC, getBridgeTokenFeeBase, getBridgeTokenFeeEstimate, getBridgeTokenFeePolygon, getBridgeTokenFeeSol, getBridgeTokenTransactions, getBridgeTransactions, getCommissionAddress, getCommissionPercentage, getCurrencyBalance, getDebuggerByIndex, getDebuggerIndex, getEventById, getFiatTransactionByTxid, getFiatTransactionsAddressRange, getFiatTransactionsRecorderRange, getFiatWithdrawalByTxid, getFiatWithdrawalsAddressRange, getFiatWithdrawalsRecorderRange, getKey, getLatestBlockData, getMaximumAllowance, getMinimumAllowance, getName, getNumberOfAdmin, getNumberOfDebugger, getNumberOfSuperAdmin, getOwner, getPendingTransaction, getProduct, getProject, getReceipt, getReserve, getRevertReason, getSDKConfig, getSelfAllowance, getSelfMaximumAllowance, getSelfMinimumAllowance, getSelfTransactionFee, getSelfTransactionFeeFixed, getSelfTransactionFeePercentage, getSolBalance, getSolLatestBlock, getSolTokenBalance, getSolTokenTransactions, getSolTransactions, getStorageVersion, getSuperAdminByIndex, getSuperAdminIndex, getSupportedAssetsExchangeRates, getTokenBalance, getTokenBalanceArbitrum, getTokenBalanceBSC, getTokenBalanceBase, getTokenBalancePolygon, getTokenDecimal, getTokenName, getTokenSymbol, getTokenTransactionsArbitrum, getTokenTransactionsBSC, getTokenTransactionsBase, getTokenTransactionsPolygon, getToller, getTotalCap, getTotalCirculating, getTotalReserving, getTransaction, getTransactionById, getTransactionFee, getTransactionFeeFixed, getTransactionFeePercentage, getTransactionReceiptById, getTransactionsArbitrum, getTransactionsBSC, getTransactionsBase, getTransactionsDollarWrapper, getTransactionsEGPWrapper, getTransactionsETHWrapper, getTransactionsEuroWrapper, getTransactionsKSHWrapper, getTransactionsNairaWrapper, getTransactionsPolygon, getTransactionsPoundWrapper, getTransactionsRangeWrapper, getTransactionsToroWrapper, getTransactionsZARWrapper, getVirtualWalletByAddress, getWalletKey, importKey, importWalletFromPrivateKeyAndPassword, increaseStorageVersion, initAdmin, initDebugger, initSuperAdmin, initTNS, initializeDeposit, initializeSDK, isAddrAssigned, isAddressKYCVerified, isAddressUtil, isAdmin, isBurnOn, isContractRegistered, isDebugger, isDeleteOn, isEnrolled, isFrozen, isMintOn, isNameUsed, isOwner, isSetOn, isStorageOn, isSuperAdmin, isTNSAvailable, isTransferOn, isUpdateOn, isValidSolanaAddress, makeInterWalletTransfer, makeInterWalletTransferTxn, mintCurrency, paymentInitializeCrypto, performKYCForCustomer, recordCryptoPayment, recordFiatWithdrawal, recordProduct, registerContract, removeAdmin, removeAllAdmins, removeAllDebuggers, removeAllSuperAdmins, removeDebugger, removeSuperAdmin, resetSDKConfig, retrieveVirtualWallet, setAllowance, setDeleteNameOff, setDeleteNameOn, setMaximumAllowance, setMinimumAllowance, setName, setSetNameOff, setSetNameOn, setStorageOff, setStorageOn, setStorageVersion, setTransactionFee, setTransactionFeeFixed, setTransactionFeePercentage, setUpdateNameOff, setUpdateNameOn, setupKYC, transferCurrency, transferOwnership, transferSolToken, transferSolana, unfreezeAddress, unregisterContract, updateKeyPassword, updateName, updatePassword, updateProduct, updateVirtualWalletTransactions, updateVirtualWalletTxs, verifyBankAccountNameNGN, verifyDeposit, verifyKey, verifySolanaVirtualAddress, verifySolanaVirtualAddressEnc, verifyWalletPassword };
+2
-2
{
"name": "torosdk",
"version": "0.1.3",
"version": "0.2.0",
"description": "A comprehensive Node.js library for interacting with the Toronet blockchain. This package simplifies wallet management, TNS setup, balance queries, fiat deposits, inter-wallet transfers, KYC verification, and smart contract deployment on Toronet's EVM-compatible network. Perfect for developers building blockchain-based applications with Toronet.",

@@ -11,3 +11,3 @@ "main": "./dist/index.js",

"type": "git",
"url": "git+https://github.com/ToroForge-Collective/ToroSDK.git"
"url": "https://github.com/ToroForge-Collective/ToroSDK.git"
},

@@ -14,0 +14,0 @@ "scripts": {

@@ -95,2 +95,8 @@ # Toronet SDK

- **Smart Contract Deployment (ToroForge)**
- Deploy compiled Solidity contracts to Toronet testnet or mainnet.
- Supports constructor arguments and custom owner addresses.
- Network auto-selection from SDK config with per-call override.
- Mainnet deployments secured via token-based authorization.
---

@@ -995,2 +1001,43 @@

### 🚀 Smart Contract Deployment (ToroForge)
Deploy compiled Solidity contracts to Toronet using the ToroForge deployer. See the full [Deployer Guide](DEPLOYER_GUIDE.md) for details.
```typescript
import { initializeSDK, deploySmartContract } from "torosdk";
// Configure for testnet
initializeSDK({ network: 'testnet' });
// Deploy a contract
const result = await deploySmartContract({
owner: "", // Empty string lets the server assign the owner
constructorArgs: [
"0x0dCDCeF127786cC71EF6658f24E7268Fe349cCB8",
"0x0dCDCeF127786cC71EF6658f24E7268Fe349cCB8"
],
abi: [/* your contract ABI */],
bytecode: "0x608060...",
});
console.log("Contract deployed at:", result.address);
console.log("ABI with signatures:", result.abi);
```
**Mainnet deployments** require a `token` from the Toronet team:
```typescript
initializeSDK({ network: 'mainnet' });
const result = await deploySmartContract({
owner: "0xYourAddress",
constructorArgs: [],
abi: [/* ... */],
bytecode: "0x608060...",
token: "your-mainnet-deploy-token",
});
```
---
## Supported Currencies

@@ -1039,2 +1086,3 @@

│ ├── bridge_service.ts # Bridge service wrappers
│ ├── deployer_service.ts # Smart contract deployment
│ └── utils.ts

@@ -1041,0 +1089,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display