|
21 | 21 |
|
22 | 22 | ##Table of Contents |
23 | 23 | 1.[Core Concepts](#core-concepts) |
24 | | -2.[Getting Started](#getting-started) |
25 | | -1.[Prerequisites](#prerequisites) |
26 | | -2.[Setup Rust Toolchain](#setup-rust-toolchain) |
27 | | -3.[Setup`ant` Wallet](#setup-ant-wallet) |
28 | | -3.[Installation](#installation) |
29 | | -4.[Quick start demo](#quick-start-demo) |
30 | | -5.[Command-Line Interface (CLI)](#command-line-interface-cli) |
| 24 | +2.[Installation](#installation) |
| 25 | +3.[Quick start demo](#quick-start-demo) |
| 26 | +4.[Command-Line Interface (CLI)](#command-line-interface-cli) |
31 | 27 | 1.[CLI Usage Examples](#cli-usage-examples) |
32 | 28 | 2.[Basic Usage](#basic-usage) |
33 | 29 | 1.[Store/fetch private data](#storefetch-private-data) |
34 | 30 | 2.[Store/fetch public data](#storefetch-public-data) |
35 | 31 | 3.[Pipes and redirects](#pipes-and-redirects) |
36 | 32 | 4.[Stats and debug](#stats-and-debug) |
37 | 33 | 3.[Screenshots](#screenshots) |
38 | | -6.[Library Usage](#library-usage) |
| 34 | +5.[Library Usage](#library-usage) |
39 | 35 | 1.[Fetching Public Data (Keyless Initialization)](#fetching-public-data-keyless-initialization) |
40 | | -7.[Development and Testing](#development-and-testing) |
| 36 | +6.[Development and Testing](#development-and-testing) |
41 | 37 | 1.[Local Testnet Management (`scripts/manage_local_testnet.sh`)](#local-testnet-management-scriptsmanage_local_testnetsh) |
42 | 38 | 2.[Running Integration Tests (`scripts/run_tests_with_env.sh`)](#running-integration-tests-scriptsrun_tests_with_envsh) |
43 | | -8.[Migration](#migration) |
44 | | -9.[Architecture Overview](#architecture-overview) |
45 | | -10.[Configuration](#configuration) |
46 | | -11.[License](#license) |
47 | | -12.[Contributing](#contributing) |
| 39 | +7.[Migration](#migration) |
| 40 | +8.[Architecture Overview](#architecture-overview) |
| 41 | +9.[Configuration](#configuration) |
| 42 | +10.[License](#license) |
| 43 | +11.[Contributing](#contributing) |
48 | 44 |
|
49 | 45 | ##Core Concepts |
50 | 46 |
|
|
71 | 67 | - Text/Code viewer/editor |
72 | 68 | - Universal video format support with real-time transcoding and streaming with ffmpeg |
73 | 69 |
|
74 | | -##Getting Started |
75 | | - |
76 | | -###Prerequisites |
77 | | - |
78 | | -* Rust Toolchain (latest stable recommended) |
79 | | -*`ant` CLI configured with a wallet (see below) |
80 | | - |
81 | | -###Setup Rust Toolchain |
82 | | - |
83 | | -This will install rustup |
84 | | - |
85 | | -```bash |
86 | | -$> curl --proto'=https' --tlsv1.2 -sSf https://sh.rustup.rs| sh |
87 | | -``` |
88 | | - |
89 | | -This will install the latest stable version of the Rust toolchain and cargo |
90 | | - |
91 | | -```bash |
92 | | -$> rustup install nightly |
93 | | -``` |
94 | | - |
95 | | -###Setup`ant` Wallet |
96 | | - |
97 | | -####If you just want to fetch public data, you can skip this section. |
98 | | - |
99 | | -Before using`mutant` to actually store data, you need to have an`ant` wallet configured for the target network (Mainnet by default, or Devnet if using the`--local` flag). If you don't have`ant` installed, you can get it using[antup](https://github.com/maidsafe/antup): |
100 | | - |
101 | | -```bash |
102 | | -$> curl -sSf https://raw.githubusercontent.com/maidsafe/antup/main/install.sh| sh |
103 | | -``` |
104 | | - |
105 | | -This will install the`ant` CLI and configure it for the Mainnet. |
106 | | - |
107 | | -```bash |
108 | | -$> antup client |
109 | | -``` |
| 70 | +##Installation |
110 | 71 |
|
111 | | -Once`ant`isinstalled, if you haven't already, you can import your existing Ethereum/ANT wallet's private key usingthe`ant` CLI: |
| 72 | +Thisisthe all-in-one installation script that will install all dependencies, build the project, then run the daemon andtheweb interface. |
112 | 73 |
|
113 | 74 | ```bash |
114 | | -$> ant wallet import YOUR_PRIVATE_KEY_HERE |
| 75 | +curl https://raw.githubusercontent.com/Champii/Mutant/refs/heads/master/install.sh| bash" |
115 | 76 | ``` |
116 | 77 |
|
117 | | -Replace`YOUR_PRIVATE_KEY_HERE` with your actual private key.`mutant` will automatically detect and use this wallet. |
118 | | - |
119 | | -Alternatively, you can create a new empty wallet using`ant wallet create` and fund it with the necessary ANT or ETH later. |
120 | | - |
121 | | -MutAnt will look for your ant wallets and ask you which one you want to use if you have multiple on the first run, then save your choice in`~/.config/mutant/config.json`. |
| 78 | +You will need to provide an Ethereum private key as well as an mnemonic phrasefor the colony. |
| 79 | +While this script propose to generate both, this feature is currently broken. |
122 | 80 |
|
123 | | -##Installation |
| 81 | +You need to generate both from [https://devtoolcafe.com/tools/bip39-generator](https://devtoolcafe.com/tools/bip39-generator) and give them to the script when asked. |
124 | 82 |
|
125 | | -```bash |
126 | | -$> cargo install mutant-daemon |
127 | | -$> cargo install mutant |
128 | | -``` |
129 | 83 |
|
130 | 84 | ## Quick start demo |
131 | 85 |
|
|