10.10.3 • Published 5 months ago

idexo-sdk v10.10.3

Weekly downloads
57
License
MIT
Repository
github
Last release
5 months ago

idexo-sdk

Idexo's multi-blockchain development SDK is the easiest way to create, deploy and manage applications for any blockchain.

The SDK offers simplified methods that accomplish exactly what you are looking to do (i.e. leverage specific features) of different blockchains in your application.

For example, creating a Royalty NFT collection that is capped to 100 NFTs to be deployed on your preferred blockchain network:

const ido = require("idexo-sdk")

ido.NFTs.createCappedRoyalty(apiKey, networkName, NFTCollectionName, NFTCollectionSymbol, 
RoyaltyCollectorWalletAddress, RoyaltyBasisPoints, 100) //100 is Cap value
.then((res) => console.log(res.data))

Installing

Using npm:

$ npm install idexo-sdk

Using yarn:

$ yarn add idexo-sdk

To use these methods you need credits that you can obtain in the idexo dashboard at https://app.idexo.io/register.

For information on how to purchase and use transaction and method credits with this SDK, see https://docs.idexo.com/master.

Find your API key under Account -> API.

Available Methods

Methods below are categorized by the general use case.

Marketplace

createSimpleMarketplace(apiKey, network, purchaseToken, saleStartTime, options)

createAuctionMarketplace(apiKey, network, purchaseToken, maxDuration, options)

NFT

createCollectionCapped(apiKey, network, name, symbol, cap, options)

createCollectionUncapped(apiKey, network, name, symbol)

createCappedRoyalty(apiKey, network, name, symbol, royaltyCollector, royaltyBP, cap, options)

createUncappedRoyalty(apiKey, network, name, symbol, royaltyCollector, royaltyBP, options)

mintNFT(apiKey, network, contractAddress, mintToAddress, tokenUri)

mintRoyaltyNFT(apiKey, network, contractAddress, mintToAddress, tokenUri)

mintNFTBatch(apiKey, network, contractAddress, recipients, tokenURIs)

setTokenURI(apiKey, network, contractAddress, tokenId, tokenUri)

getTokenURI(apiKey, network, contractAddress, tokenId)

getCollectionIds(apiKey, network, contractAddress, walletAddress, withURI = false)

getBalanceOf(apiKey, network, contractAddress, walletAddress)

SBT

createSBTCapped(apiKey, network, name, symbol, baseUri, cap, options)

createSBTUncapped(apiKey, network, name, symbol, baseUri, options)

createLinkedSBTUncapped(apiKey, network, name, symbol, baseUri, options)

mintSBT(apiKey, network, contractAddress, mintToAddress, tokenUri)

Multi

mintNFTWithImage(apiKey, network, contractAddress, mintToAddress, image, nftName, nftDescription, attributes, options) | Parameter | Datatype | Description | | -------------- |:---------:| ---------------------------------------------------------------------------------------------:| | image | string | 1) image file path, 2) URL, OR, 3) base64 string | | attributes | json | must be an array. Example: { "trait_type": "color", "value": "blue" } | | options | object | optional. set metadata storage option (default "arweave"). ex. { metadataStorage: "filecoin" }|

Tokens

createTokenCapped(apiKey, network, name, symbol, cap, options)

createTokenUncapped(apiKey, network, name, symbol)

mintToken(apiKey, network, contractAddress, mintToAddress, amount)

Storage

uploadPlain(apiKey, network, data)

uploadHTML(apiKey, network, data)

uploadJSON(apiKey, network, data)

uploadBuffer(apiKey, network, data, encoding)

uploadImage(apiKey, network, imagePath)

uploadNFTMetadata(apiKey, network, image, nftName, nftDescription, attributes, options) | Parameter | Datatype | Description | | -------------- |:---------:| ---------------------------------------------------------------------------------------------:| | image | string | 1) image file path, 2) URL, OR, 3) base64 string | | attributes | json | must be an array. Example: { "trait_type": "color", "value": "blue" } | | options | object | optional. set metadata storage option (default "arweave"). ex. { metadataStorage: "filecoin" }|

Vesting

createVesting(apiKey, network, depositToken, beneficiary, startTime, cliffDays, durationDays, claimsPeriod, options)

depositInitial(apiKey, network, contractAddress, amount)

getVestedAmount(apiKey, network, contractAddress)

getAvailableClaimAmount(apiKey, network, contractAddress)

Utils

getContractAddress(apiKey, network, transactionHash)

getTransactions(apiKey, network, timestampFrom, timestampTo)

getTransactionsByGroup(apiKey, network, group, timestampFrom, timestampTo)

getTransactionsByFunction(apiKey, function_name)

Available Networks

The following mainnet networks are currently supported values to set for network in brackets:

The following testnet networks are currently supporded:

Documentation

idexo docs

Website

idexo.com

Token

the $IDO token

10.10.3

5 months ago

10.10.2

5 months ago

10.10.1

7 months ago

10.9.10

10 months ago

10.9.11

10 months ago

10.9.6

11 months ago

10.9.7

11 months ago

10.9.8

10 months ago

10.9.9

10 months ago

10.10.0

10 months ago

10.9.5

1 year ago

10.9.1

1 year ago

10.9.2

1 year ago

10.9.3

1 year ago

10.8.2

1 year ago

10.9.0

1 year ago

10.8.0

1 year ago

10.8.1

1 year ago

10.7.10

2 years ago

10.7.11

1 year ago

10.7.12

1 year ago

10.7.1

2 years ago

10.7.2

2 years ago

10.7.3

2 years ago

10.7.4

2 years ago

10.7.5

2 years ago

10.7.6

2 years ago

10.7.7

2 years ago

10.7.8

2 years ago

10.7.9

2 years ago

10.7.0

2 years ago

10.6.0

2 years ago

10.4.0

2 years ago

10.5.0

2 years ago

10.3.0

2 years ago

10.3.1

2 years ago

10.0.0

2 years ago

10.0.1

2 years ago

10.2.0

2 years ago

10.1.0

2 years ago

9.2.3

2 years ago

9.2.2

2 years ago

9.2.1

2 years ago

8.4.0

2 years ago

9.1.1

2 years ago

9.1.0

2 years ago

9.1.3

2 years ago

9.1.2

2 years ago

9.2.0

2 years ago

9.0.1

2 years ago

9.0.0

2 years ago

8.3.0

3 years ago

8.2.0

3 years ago

8.1.0

3 years ago

8.0.0

3 years ago

7.5.0

3 years ago

7.4.0

3 years ago

7.0.0

3 years ago

7.3.0

3 years ago

7.2.0

3 years ago

7.1.0

3 years ago

6.0.0

3 years ago

5.0.6

3 years ago

5.0.5

3 years ago

5.0.4

3 years ago

5.0.3

3 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.0.0

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago