diff --git a/documentation/docs/intro.md b/documentation/docs/intro.md index b6ce0ee..fffa8fa 100644 --- a/documentation/docs/intro.md +++ b/documentation/docs/intro.md @@ -18,7 +18,7 @@ The following functionalities are currently supported : ## Workflows -![Project Workflows](/workflows.png) +![Project Workflows](../static/img/workflows.png) ## Installation and Usage diff --git a/examples/deploy.ts b/examples/chains/Ethereum/deployEthereum.ts similarity index 100% rename from examples/deploy.ts rename to examples/chains/Ethereum/deployEthereum.ts diff --git a/examples/draft.ts b/examples/chains/Ethereum/draftEthereum.ts similarity index 100% rename from examples/draft.ts rename to examples/chains/Ethereum/draftEthereum.ts diff --git a/examples/generate.ts b/examples/chains/Ethereum/generateEthereum.ts similarity index 100% rename from examples/generate.ts rename to examples/chains/Ethereum/generateEthereum.ts diff --git a/examples/mint.ts b/examples/chains/Ethereum/mintEthereum.ts similarity index 100% rename from examples/mint.ts rename to examples/chains/Ethereum/mintEthereum.ts diff --git a/examples/upload.ts b/examples/chains/Ethereum/uploadEthereum.ts similarity index 100% rename from examples/upload.ts rename to examples/chains/Ethereum/uploadEthereum.ts diff --git a/examples/chains/Solana/deploySolana.ts b/examples/chains/Solana/deploySolana.ts new file mode 100644 index 0000000..e69de29 diff --git a/examples/chains/Solana/draftSolana.ts b/examples/chains/Solana/draftSolana.ts new file mode 100644 index 0000000..e69de29 diff --git a/examples/chains/Solana/generateSolana.ts b/examples/chains/Solana/generateSolana.ts new file mode 100644 index 0000000..e69de29 diff --git a/examples/chains/Solana/mintSolana.ts b/examples/chains/Solana/mintSolana.ts new file mode 100644 index 0000000..e69de29 diff --git a/examples/chains/Solana/uploadSolana.ts b/examples/chains/Solana/uploadSolana.ts new file mode 100644 index 0000000..e69de29 diff --git a/examples/chains/Tezos/deployTezos.ts b/examples/chains/Tezos/deployTezos.ts new file mode 100644 index 0000000..e69de29 diff --git a/examples/chains/Tezos/draftTezos.ts b/examples/chains/Tezos/draftTezos.ts new file mode 100644 index 0000000..e69de29 diff --git a/examples/chains/Tezos/generateTezos.ts b/examples/chains/Tezos/generateTezos.ts new file mode 100644 index 0000000..e69de29 diff --git a/examples/chains/Tezos/mintTezos.ts b/examples/chains/Tezos/mintTezos.ts new file mode 100644 index 0000000..e69de29 diff --git a/examples/chains/Tezos/uploadTezos.ts b/examples/chains/Tezos/uploadTezos.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/classes/Collection.ts b/src/classes/chains/Ethereum/EthereumCollection.ts similarity index 100% rename from src/classes/Collection.ts rename to src/classes/chains/Ethereum/EthereumCollection.ts diff --git a/src/classes/Contract.ts b/src/classes/chains/Ethereum/EthereumContract.ts similarity index 100% rename from src/classes/Contract.ts rename to src/classes/chains/Ethereum/EthereumContract.ts diff --git a/src/classes/chains/Solana/SolanaCollection.ts b/src/classes/chains/Solana/SolanaCollection.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/classes/chains/Solana/SolanaContract.ts b/src/classes/chains/Solana/SolanaContract.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/classes/chains/Tezos/TezosCollection.ts b/src/classes/chains/Tezos/TezosCollection.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/classes/chains/Tezos/TezosContract.ts b/src/classes/chains/Tezos/TezosContract.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/classes/Arweave.ts b/src/classes/fileStorage/Arweave.ts similarity index 100% rename from src/classes/Arweave.ts rename to src/classes/fileStorage/Arweave.ts diff --git a/src/classes/FileStorage.ts b/src/classes/fileStorage/FileStorage.ts similarity index 94% rename from src/classes/FileStorage.ts rename to src/classes/fileStorage/FileStorage.ts index 896d30e..5d9a267 100644 --- a/src/classes/FileStorage.ts +++ b/src/classes/fileStorage/FileStorage.ts @@ -1,6 +1,6 @@ import { PathLike } from "fs"; import path from "path"; -import { Collection } from "./Collection"; +import { Collection } from "../../examples/chains/Ethereum/contracts/EthereumCollection"; export abstract class FileStorage { abstract serviceBaseURL: string; diff --git a/src/classes/Infura.ts b/src/classes/fileStorage/Infura.ts similarity index 100% rename from src/classes/Infura.ts rename to src/classes/fileStorage/Infura.ts diff --git a/src/classes/NFTstorage.ts b/src/classes/fileStorage/NFTstorage.ts similarity index 100% rename from src/classes/NFTstorage.ts rename to src/classes/fileStorage/NFTstorage.ts diff --git a/src/classes/Pinata.ts b/src/classes/fileStorage/Pinata.ts similarity index 100% rename from src/classes/Pinata.ts rename to src/classes/fileStorage/Pinata.ts diff --git a/src/classes/Storj.ts b/src/classes/fileStorage/Storj.ts similarity index 100% rename from src/classes/Storj.ts rename to src/classes/fileStorage/Storj.ts diff --git a/src/index.ts b/src/index.ts index 2c04677..7129a85 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import { PathLike } from "fs"; -import { Collection, LayerSchema } from "./classes/Collection"; -import { Contract, ContractAttributes, DraftOptions } from "./classes/Contract"; +import { Collection, LayerSchema } from "../examples/chains/Ethereum/contracts/EthereumCollection"; +import { Contract, ContractAttributes, DraftOptions } from "../examples/chains/Ethereum/contracts/EthereumContract"; import { FileStorage } from "./classes/FileStorage"; import { execSync } from "child_process"; import { Arweave } from "./classes/Arweave"; diff --git a/tsconfig.json b/tsconfig.json index dc65a04..80d22e9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -67,5 +67,5 @@ // "skipLibCheck": true, /* Skip type checking of declaration files. */ // "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ }, - "include": ["./src/**/*"] + "include": ["./src/**/*", "examples/chains/Ethereum/contracts/EthereumCollection.ts", "examples/chains/Ethereum/contracts/EthereumContract.ts"] }