You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ETCM-[165, 166]: Publish the RLP and Crypto libraries to Sonatype. (#933)
* ETCM-165: Publish the RLP and Crypto libraries to Sonatype.
ETCM-165: Accept SNAPSHOT in version number sent in Hello.
ETCM-165: Wait for unit tests before publishing.
ETCM-165: Check if the GPG key already exists.
ETCM-165: Update GPG.
ETCM-165: Try restarting the gpg agent.
* ETCM-165: Cross publish.
* ETCM-165: Update nix.
* ETCM-165: Publish bytes as well.
* ETCM-165: Remove obsolete nix file.
* ETCM-165: Add comment about Nix Flakes
* ETCM-165: Fix version regex in mantis.nix
* ETCM-165: Update dependency version hash.
* ETCM-165: Fix README to talk about the overlay.nix
* ETCM-165: Update the dependency sha after fixing the VM submodule version.
Copy file name to clipboardExpand all lines: README.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Possible networks: `etc`, `eth`, `mordor`, `testnet-internal`
32
32
### Command Line Interface
33
33
34
34
`cli` is a tool that can be used to:
35
-
35
+
36
36
- generate a new private key
37
37
```
38
38
./bin/mantis cli generate-private-key
@@ -124,10 +124,12 @@ will need to be updated so that it includes the new dependency state.
124
124
To do so, please run:
125
125
```
126
126
./update-nix.sh
127
-
git add ./nix/pkgs/mantis.nix
127
+
git add ./nix/overlay.nix
128
128
git commit -m "Update nix-sbt sha"
129
129
```
130
130
131
+
For this command to work you'll need the [Flakes](https://nixos.wiki/wiki/Flakes) feature enabled in your `nix` environment.
132
+
131
133
*NOTE:* This should only be necessary when updating dependencies
132
134
(For example, edits to build.sbt or project/plugins.sbt will likely need to be regenerated)
133
135
@@ -159,9 +161,9 @@ If a new certificate is required, create a new keystore with a certificate by ru
159
161
1. Configure the certificate and password file to be used at `mantis.network.rpc.http.certificate` key on the `application.conf` file:
160
162
161
163
keystore-path: path to the keystore storing the certificates (if generated through our script they are by default located in "./tls/mantisCA.p12")
162
-
164
+
163
165
keystore-type: type of certificate keystore being used (if generated through our script use "pkcs12")
164
-
166
+
165
167
password-file: path to the file with the password used for accessing the certificate keystore (if generated through our script they are by default located in "./tls/password")
166
168
2. Enable TLS in specific config:
167
169
- For JSON RPC: `mantis.network.rpc.http.mode=https`
@@ -171,9 +173,9 @@ If a new certificate is required, create a new keystore with a certificate by ru
171
173
1. Configure the certificate and password file to be used at `mantis.network.rpc.http.certificate` key on the `faucet.conf` file:
172
174
173
175
keystore-path: path to the keystore storing the certificates (if generated through our script they are by default located in "./tls/mantisCA.p12")
174
-
176
+
175
177
keystore-type: type of certificate keystore being used (if generated through our script use "pkcs12")
176
-
178
+
177
179
password-file: path to the file with the password used for accessing the certificate keystore (if generated through our script they are by default located in "./tls/password")
178
180
2. Enable TLS in specific config:
179
181
- For JSON RPC: `mantis.network.rpc.http.mode=https`
@@ -200,7 +202,7 @@ volumes:
200
202
- $HOME/.mantis:/home/demiourgos728/.mantis/
201
203
command: -Dconfig.file=./conf/sagano.conf
202
204
```
203
-
205
+
204
206
2. Create a wallet address. Run the following curl command, replacing `<password>` by a password of your choice:
0 commit comments