Installation
The AlphaCapture Protocol (previously IXily) SDK allows the creation and retrieval of Investment Ideas and Strategies, together with supporting methods for Access Control.
There are two SDKs, one intended for server side use such as algorithmic creation of ideas and a second for use in dApps, primarily for the display of ideas.
Please ensure Node >v18.x.x installed.
Install the AlphaCapture SDK
npm i @ixily/activnpm i @ixily/activ-webInstall External Dependencies (Required)
Lit Protocol
Lit Protocol is used for Investment Idea NFT encryption/decryption and access control. See more at https://litprotocol.com/
npm i @lit-protocol/[email protected]SIWE (Sign In With Ethereum)
npm i siweJIMP (Javascript Image Manipulation)
JIMP is used to support the processing of images that are associated with the creator's profile and/or with the asset created.
npm i jimpInitial Setup
Import the required libraries.
Configure Keys
Wallet
Please specify the wallet to create Investment Ideas (or that which has access to Ideas) and ensure it is sufficiently funded if creating Ideas (with MATIC).
IPFS Storage
Supplementary Investment Idea data, such as detailed pricing data, is stored on IPFS. Please provide your own key to store the data.
Keys can be created at: https://nft.storage
Configure Chain
Currently the Polygon (PoS) Mainnet and Amoy Testnet are supported.
Cache Storage Configuration
Requesting content directly from chain can be slow, particularly as Ideas need to be decrypted. There are several options to cache data using standard tools such as Redis. If you are considering implementing a cache, please contact us for further details.
Initialise SDK
Ready to go...
You should now be able to connect to a network and view the SDK contract.
Last updated