Skip to content

Commit aa4d602

Browse files
committed
Move images out of docs/ dir
1 parent 214fcce commit aa4d602

File tree

108 files changed

+77
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+77
-79
lines changed

Diff for: docs/dapps/standards/fungible-tokens.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ for proper display in wallets, explorers, and other ecosystem
4646
interfaces. Here is how extension wallet displays a token before and
4747
after it is added into the token list.
4848

49-
<img src={require("./media/unknown-token.png").default} alt="Unknown" width="250"/>
49+
<img src={require("/img/unknown-token.png").default} alt="Unknown" width="250"/>
5050
&nbsp;&nbsp;&nbsp;&nbsp;
51-
<img src={require("./media/verified-token.png").default} alt="Verified" width="250"/>
51+
<img src={require("/img/verified-token.png").default} alt="Verified" width="250"/>
5252

5353
Currently, a pull request is needed to add the token metadata to token
5454
list.
@@ -72,8 +72,8 @@ fungible tokens.
7272
Following is an example of displaying and transfering the `PACA` token
7373
using extesion wallet:
7474

75-
<img src={require("./media/transfer-alphpaca-1.png").default} alt="Token Overview" width="250"/>
75+
<img src={require("/img/transfer-alphpaca-1.png").default} alt="Token Overview" width="250"/>
7676
&nbsp;&nbsp;&nbsp;&nbsp;
77-
<img src={require("./media/transfer-alphpaca-2.png").default} alt="Send Token" width="250" />
77+
<img src={require("/img/transfer-alphpaca-2.png").default} alt="Send Token" width="250" />
7878
&nbsp;&nbsp;&nbsp;&nbsp;
79-
<img src={require("./media/transfer-alphpaca-3.png").default} alt="Sign Tx" width="250" />
79+
<img src={require("/img/transfer-alphpaca-3.png").default} alt="Sign Tx" width="250" />

Diff for: docs/dapps/standards/media/create-flow-page.png

-92.9 KB
Binary file not shown.

Diff for: docs/dapps/standards/media/flow-page.png

-545 KB
Binary file not shown.
-63.1 KB
Binary file not shown.

Diff for: docs/dapps/standards/media/marketplace-testnet.png

-982 KB
Binary file not shown.
-150 KB
Binary file not shown.

Diff for: docs/dapps/standards/non-fungible-tokens.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Following is an example of displaying and transfering a NFT in the
126126
`Imagine Collection` in the extension wallet:
127127

128128
<img
129-
src={require("./media/show-nft-collection-extension-wallet.png").default} alt="Show collection" width="250"/>
129+
src={require("/img/show-nft-collection-extension-wallet.png").default} alt="Show collection" width="250"/>
130130
&nbsp;&nbsp;&nbsp;&nbsp;
131-
<img src={require("./media/transfer-nft-collection-extension-wallet.png").default} alt="Transfer NFT" width="250" />
131+
<img src={require("/img/transfer-nft-collection-extension-wallet.png").default} alt="Transfer NFT" width="250" />
132132

Diff for: docs/dapps/tutorials/first-dapp-with-nextjs.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -68,29 +68,29 @@ npm run dev
6868
Open [http://localhost:3000](http://localhost:3000) with your browser
6969
to see the token faucet application.
7070

71-
<img src={require("./media/nextjs-template-connect.png").default}
71+
<img src={require("/img/nextjs-template-connect.png").default}
7272
alt="Connect button" width="300"/>
7373

7474
As illustrated above, the token faucet dApp shows a `Connect Alephium`
7575
button before it is connected with a wallet. Click the button and
7676
choose the `Extension Wallet` option to open the extension
7777
wallet. `WalletConnect` will be supported soon.
7878

79-
<img src={require("./media/nextjs-template-open-connect.png").default} alt="Landing page" width="250"/>
79+
<img src={require("/img/nextjs-template-open-connect.png").default} alt="Landing page" width="250"/>
8080
&nbsp;&nbsp;&nbsp;&nbsp;
81-
<img src={require("./media/nextjs-template-connect-click-extensonwallet.png").default} alt="Create wallet" width="250" />
81+
<img src={require("/img/nextjs-template-connect-click-extensonwallet.png").default} alt="Create wallet" width="250" />
8282

8383
Review the approval screen of the extension wallet and click
8484
`Connect`, the token faucet dApp will be connected to the extension
8585
wallet.
8686

87-
<img src={require("./media/nextjs-template-connected.png").default} alt="Landing page" width="520"/>
87+
<img src={require("/img/nextjs-template-connected.png").default} alt="Landing page" width="520"/>
8888

8989
Input the number of tokens to be withdrawn (maximum 2), and click
9090
the `Send Me Token` button. Review the transaction details and click
9191
`Confirm`.
9292

93-
<img src={require("./media/nextjs-template-send-token.png").default} alt="Landing page" width="520"/>
93+
<img src={require("/img/nextjs-template-send-token.png").default} alt="Landing page" width="520"/>
9494

9595
Congratulations, you have just transferred some tokens from the token
9696
faucet to your account!

Diff for: docs/full-node/full-node-more.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 48 | head -n 1
3333

3434
1. Click on the `Authorize` button on the top right of your Swagger UI:
3535

36-
<img src={require("./media/full-node-api-key-auth0.png").default}/>
36+
<img src={require("/img/full-node-api-key-auth0.png").default}/>
3737

3838
2. Fill in the value box with your key and click the authorize button:
3939

40-
<img src={require("./media/full-node-api-key-auth1.png").default}/>
40+
<img src={require("/img/full-node-api-key-auth1.png").default}/>
4141

4242
Now you could use Swagger UI as if there is no API key.
4343

Diff for: docs/full-node/raspberry-pi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This first section will detail my personal way of installing Ubuntu 20.04 server
1616
It requires to have a Raspberry Pi 4 (obviously), a SD Card (8 GB is the minimum) and an SD Card reader to flash the SD Card.
1717
It will be illustrated using shell command from macOS, but you'll find the equivalent in Windows.
1818

19-
<img src={require("./media/flashing.jpeg").default} alt="Getting ready for the hard work" width="500"/>
19+
<img src={require("/img/flashing.jpeg").default} alt="Getting ready for the hard work" width="500"/>
2020

2121
First of all we will configure the installation Ubuntu. We're using cloud-init for that since it is built in Ubuntu 20.04 and above.
2222
This configuration creates a user (different from the `ubuntu` default) and installs a few packages.
@@ -95,7 +95,7 @@ If `alephium` host is unknown, you'll have to search for the IP address of the n
9595

9696
And that's it, your Raspberry Pi is running Ubuntu 20.04 with Docker, and is ready to run an Alephium full node! 🚀
9797

98-
<img src={require("./media/pies.jpeg").default} alt="Raspberry pi 4" width="500"/>
98+
<img src={require("/img/pies.jpeg").default} alt="Raspberry pi 4" width="500"/>
9999

100100
## Run a docker'ized instance of Alephium full node
101101

Diff for: docs/full-node/run-on-flux.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ By default, the Full Node App only has the P2P port (`39973` on Flux nodes) expo
2323

2424
1. Manage your application
2525

26-
<img src={require("./media/flux1.png").default} alt="Manage your application"/>
26+
<img src={require("/img/flux1.png").default} alt="Manage your application"/>
2727

2828
2. Update the specifications
2929

30-
<img src={require("./media/flux2.png").default} alt="Update specifications"/>
30+
<img src={require("/img/flux2.png").default} alt="Update specifications"/>
3131

3232
3. Configure the connectivity to expose the container port `12973`. In the screenshot below the port `42973` has been arbitrariliy choosen and will be exposing the API. Any other valid port would work. Compute the signing message and follow the signing process to broadcast the specifications update across the network.
3333

34-
<img src={require("./media/flux3.png").default} alt="Configure connectivity"/>
34+
<img src={require("/img/flux3.png").default} alt="Configure connectivity"/>
3535

3636
4. Softly redeploy your application to take into account the specifications update.
3737

38-
<img src={require("./media/flux4.png").default} alt="Soft redeploy the app"/>
38+
<img src={require("/img/flux4.png").default} alt="Soft redeploy the app"/>
3939

4040
That's it, your API is now exposed through the automatic endpoint containing `_42973` (or the different port your specified), you can easily validate with the API endpoint `/infos/version`, i.e. something like `https://alephiumnode1708292985626_42973.app.runonflux.io/infos/version`.

Diff for: docs/mining/media/full-node-synced-query.png

-37.8 KB
Binary file not shown.

Diff for: docs/mining/media/miner-wallet-balance-query.png

-96.5 KB
Binary file not shown.
-80.5 KB
Binary file not shown.

Diff for: docs/mining/media/miner-wallet-restore-query.png

-145 KB
Binary file not shown.

Diff for: docs/mining/media/miner-wallet-sweep-all-query.png

-91.6 KB
Binary file not shown.

Diff for: docs/mining/media/miner-wallet-unlock-query.png

-78 KB
Binary file not shown.

Diff for: docs/mining/solo-mining-guide.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ First, we need to create a dedicated wallet for mining. Compared to a regular wa
1515

1616
### Create miner wallet
1717

18-
<img src={require("./media/miner-wallet-create-query.png").default}/>
18+
<img src={require("/img/miner-wallet-create-query.png").default}/>
1919

2020
The server will return the new wallet mnemonic. Please backup and store it securely.
2121

22-
<img src={require("./media/miner-wallet-create-response.png").default}/>
22+
<img src={require("/img/miner-wallet-create-response.png").default}/>
2323

2424
### List miner addresses
2525

26-
<img src={require("./media/miner-wallet-list-addresses-query.png").default}/>
26+
<img src={require("/img/miner-wallet-list-addresses-query.png").default}/>
2727

2828
The server will return `4` addresses which are required in later steps:
2929

30-
<img src={require("./media/miner-wallet-list-addresses-response.png").default}/>
30+
<img src={require("/img/miner-wallet-list-addresses-response.png").default}/>
3131

3232
## Configure miner addresses
3333

@@ -53,7 +53,7 @@ endpoint because they are sorted according to their corresponding groups.
5353

5454
You could verify that by executing this endpoint:
5555

56-
<img src={require("./media/full-node-synced-query.png").default}/>
56+
<img src={require("/img/full-node-synced-query.png").default}/>
5757

5858
If you see `"synced": true` in the response, then you are ready to go.
5959

Diff for: docs/misc/glossary.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ This difference is offered by actors referred to as “searchers” that analyze
120120

121121
### Mining Reward
122122

123-
![](media/Block%20reward.png)
123+
![](/img/Block-reward.png)
124124

125125
Alephium’s reward for newly generated blocks is also called Mining Reward (MR). After distribution, the [block rewards](#block-reward) are locked for 500 minutes.
126126

@@ -204,7 +204,7 @@ Tokens can also be categorized by their intended function: Utility, Security, or
204204

205205
### Transaction Fee
206206

207-
![image](media/186886291-79745fc1-25dc-4307-a752-400ce1ff2d31.png)
207+
![image](/img/186886291-79745fc1-25dc-4307-a752-400ce1ff2d31.png)
208208

209209
When someone does a transaction in Alephium, there’s a price to be paid to the miners for including it in a block.
210210

Diff for: docs/wallet/Basic functions.md

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ title: HowTos
44
sidebar_label: HowTos
55
---
66

7-
import UntranslatedPageText from "@site/src/components/UntranslatedPageText";
8-
97
# Wallet HOWTOs
108

119
### Create new address in a group using Extension Wallet

Diff for: docs/wallet/desktop-wallet/advanced-features.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ To make sure this doesn't happen, the wallet allows you to easily consolidate yo
1818

1919
In the `Addresses` tab, click on the `Advanced operations` icon and choose `Consolidate UTXOs`.
2020

21-
<img src={require("./media/af1.png").default} alt="UTXO consolidation" width="auto" style={{ height: '200px' }} />
21+
<img src={require("/img/af1.png").default} alt="UTXO consolidation" width="auto" style={{ height: '200px' }} />
2222

23-
<img src={require("./media/af4.png").default} alt="UTXO consolidation" width="auto" style={{ height: '200px' }} />
23+
<img src={require("/img/af4.png").default} alt="UTXO consolidation" width="auto" style={{ height: '200px' }} />
2424

2525
Select the address from which you want to consolidate the UTXOs and select the destination address (it can be the same address). Click on `Consolidate` and your UTXOs will be consolidated.
2626

27-
<img src={require("./media/af2.png").default} alt="Landing page" width="auto" style={{ height: '200px' }} />
27+
<img src={require("/img/af2.png").default} alt="Landing page" width="auto" style={{ height: '200px' }} />
2828

2929
## 2. Passphrase (ADVANCED SECURITY FEATURE)
3030

@@ -56,7 +56,7 @@ It is important to remember that any unique Passphrase will generate and give ac
5656

5757
To use a Passphrase, simply tick the `Use optional passphrase (advanced)` and enter the optional Passphrase of your choice.
5858

59-
<img src={require("./media/af5.png").default} alt="Landing page" width="auto" style={{ height: '200px' }} />
59+
<img src={require("/img/af5.png").default} alt="Landing page" width="auto" style={{ height: '200px' }} />
6060

6161
### 3. Limitations of Passphrase-enabled wallets
6262

Diff for: docs/wallet/desktop-wallet/configure-mining-wallet.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ A mining wallet is slightly different and needs to have **one address per group*
1010

1111
To do this, simply unfold the `Advanced Settings` in the welcome screen at the end of the wallet creation process.
1212

13-
<img src={require("./media/mw1.png").default} alt="Prompt to create a new wallet" width="auto" style={{ height: '200px' }} />
13+
<img src={require("/img/mw1.png").default} alt="Prompt to create a new wallet" width="auto" style={{ height: '200px' }} />
1414

1515
Alternatively, you can create additional addresses manually after you log into your wallet by going to the `Addresses` tab, click on the `Advanced operations` icon and choose `Generate one address per group`
1616

17-
<img src={require("./media/af4.png").default} alt="Advanced management section" width="auto" style={{ height: '200px' }} />
17+
<img src={require("/img/af4.png").default} alt="Advanced management section" width="auto" style={{ height: '200px' }} />

Diff for: docs/wallet/desktop-wallet/getting-started.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@ By default, the wallet will be connected to the Alephium public node. Should you
1919

2020
:::
2121

22-
<img src={require("./media/gs1.png").default} alt="Desktop Wallet Landing page" width="auto" style={{ height: '200px' }} />
22+
<img src={require("/img/gs1.png").default} alt="Desktop Wallet Landing page" width="auto" style={{ height: '200px' }} />
2323

24-
<img src={require("./media/gs2.png").default} alt="Prompt to create new wallet" width="auto" style={{ height: '200px' }} />
24+
<img src={require("/img/gs2.png").default} alt="Prompt to create new wallet" width="auto" style={{ height: '200px' }} />
2525

26-
<img src={require("./media/gs3.png").default} alt="Prompt to chose a name and set a password" width="auto" style={{ height: '200px' }} />
26+
<img src={require("/img/gs3.png").default} alt="Prompt to chose a name and set a password" width="auto" style={{ height: '200px' }} />
2727

2828
1. Click on `Create/Import a new wallet`, then click `New wallet`.
2929

3030
2. Choose a wallet name and pick a password to protect your wallet on your computer. This password does not replace your wallet's 24-word Secret Recovery Phrase. It is only used to lock and unlock the newly created wallet.
3131
Click `Continue`.
3232

33-
<img src={require("./media/gs4.png").default} alt="Display of the 24 secret words" width="auto" style={{ height: '200px' }} />
33+
<img src={require("/img/gs4.png").default} alt="Display of the 24 secret words" width="auto" style={{ height: '200px' }} />
3434

35-
<img src={require("./media/gs5.png").default} alt="Prompt to verify annotation of the 24 secret words was correct" width="auto" style={{ height: '200px' }} />
35+
<img src={require("/img/gs5.png").default} alt="Prompt to verify annotation of the 24 secret words was correct" width="auto" style={{ height: '200px' }} />
3636

37-
<img src={require("./media/gs6.png").default} alt="Landing page of a brand new wallet" width="auto" style={{ height: '200px' }} />
37+
<img src={require("/img/gs6.png").default} alt="Landing page of a brand new wallet" width="auto" style={{ height: '200px' }} />
3838

3939
3. In the highlighted box, you will see 24 words. These are your wallet's 24-word Secret Recovery Phrase. This is your most precious piece of information, and you must store it wisely, safely, and carefully.
4040

@@ -44,11 +44,11 @@ By default, the wallet will be connected to the Alephium public node. Should you
4444

4545
## 3. Transfer ALPH
4646

47-
<img src={require("./media/gs7.png").default} alt="Landing page of Desktop Wallet" width="auto" style={{ height: '200px' }} />
47+
<img src={require("/img/gs7.png").default} alt="Landing page of Desktop Wallet" width="auto" style={{ height: '200px' }} />
4848

49-
<img src={require("./media/gs8.png").default} alt="Prompt to enter destination address and amount of transaction" width="auto" style={{ height: '200px' }} />
49+
<img src={require("/img/gs8.png").default} alt="Prompt to enter destination address and amount of transaction" width="auto" style={{ height: '200px' }} />
5050

51-
<img src={require("./media/gs9.png").default} alt="Prompt to enter destination address and amount of transaction" width="auto" style={{ height: '200px' }} />
51+
<img src={require("/img/gs9.png").default} alt="Prompt to enter destination address and amount of transaction" width="auto" style={{ height: '200px' }} />
5252

5353
1. To send ALPH, simply click on the `Send` button in the left menu.
5454

@@ -68,20 +68,20 @@ The transaction can be seen in both the `Overview` tab as well as the `Addresses
6868

6969
You can see all the existing addresses displayed in a list in the `Addresses` tab, with information such as their label, respective balances, group number, etc.
7070

71-
<img src={require("./media/gs10.png").default} alt="Address page" width="auto" style={{ height: '200px' }} />
71+
<img src={require("/img/gs10.png").default} alt="Address page" width="auto" style={{ height: '200px' }} />
7272

7373
Clicking on one of the `+ New address` buttons brings you to the `New address` page where you'll be able to create and label the new address. By default, addresses are generated in a random group. You can manually choose a specific group under the `Advanced options` section.
7474

75-
<img src={require("./media/gs11.png").default} alt="Prompt to create a new address" width="auto" style={{ height: '200px' }} />
75+
<img src={require("/img/gs11.png").default} alt="Prompt to create a new address" width="auto" style={{ height: '200px' }} />
7676

7777
By clicking on a specific address, you'll see the address details including its transaction history.
7878

79-
<img src={require("./media/gs12.png").default} alt="View of a singel address" width="auto" style={{ height: '200px' }} />
79+
<img src={require("/img/gs12.png").default} alt="View of a singel address" width="auto" style={{ height: '200px' }} />
8080

8181
Using the Settings wheel at the top of the application, you will be able to edit the Address label, choose it as your default address or sweep all its unlocked funds to an address of your choice.
8282

83-
<img src={require("./media/gs13.png").default} alt="Prompt to configure address options" width="auto" style={{ height: '200px' }} />
83+
<img src={require("/img/gs13.png").default} alt="Prompt to configure address options" width="auto" style={{ height: '200px' }} />
8484

8585
## 5. Export Public Key and Private Key
8686

87-
<img src={require("./media/gs14.png").default} alt="Export public key and private key" width="auto" style={{ height: '200px' }} />
87+
<img src={require("/img/gs14.png").default} alt="Export public key and private key" width="auto" style={{ height: '200px' }} />

Diff for: docs/wallet/desktop-wallet/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ sidebar_label: Overview
88

99
The desktop wallet is the most user-friendly Alephium wallet available today. It allows users to store and manage their assets on the Alephium blockchain.
1010

11-
<img src={require("./media/overview1.png").default} alt="Desktop Wallet in dark mode" width="50%"/>
11+
<img src={require("/img/overview1.png").default} alt="Desktop Wallet in dark mode" width="50%"/>
1212

13-
<img src={require("./media/overview2.png").default} alt="Desktop Wallet in light mode" width="50%"/>
13+
<img src={require("/img/overview2.png").default} alt="Desktop Wallet in light mode" width="50%"/>
1414

1515
In the Getting Started page, you can find out the installation guide as well as some common use cases for the desktop wallet such as managing accounts, transferring assets, etc. For more information on advanced features, please check out the dedicated pages.
1616
Some could consider the desktop wallet slightly less privacy-preserving and secure than the node wallet as it requires you to trust the application’s security and is by default connected to a public node. However, you can build the wallet directly from our GitHub repository and use a local node, or even create your wallet completely offline to mitigate some of these risks.

Diff for: docs/wallet/desktop-wallet/media/af3.png

-524 KB
Binary file not shown.

Diff for: docs/wallet/desktop-wallet/media/mw2.png

-423 KB
Binary file not shown.

Diff for: docs/wallet/extension-wallet/dapp.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function tryConnect() {
4949
Users will be prompted to connect to the current dApp when
5050
`windowAlephium?.enable()` method is called:
5151

52-
<img src={require("./media/connect-dapp.png").default} alt="Connect dApp" width="250" />
52+
<img src={require("/img/connect-dapp.png").default} alt="Connect dApp" width="250" />
5353

5454
After user clicks the `Connect` button, dApp is connected with users
5555
extension wallet.
@@ -81,7 +81,7 @@ This will place a button in your dApp with the `retro` built-in
8181
theme. Once user clicks the button, a pop-up window will show up to
8282
ask user to select a wallet:
8383
84-
<img src={require("./media/connect-dapp-2.png").default} alt="Connect dApp Web3 React" />
84+
<img src={require("/img/connect-dapp-2.png").default} alt="Connect dApp Web3 React" />
8585
8686
If user selects `Extension Wallet`, user will again be prompted to
8787
connect to the current dApp. After user clicks the `Connect` button,
@@ -116,7 +116,7 @@ The following is an example of a transaction for token transfer: user
116116
is transferring `2` `TokenFaucet` token from `Salary` account to
117117
`Saving` account.
118118
119-
<img src={require("./media/transaction-signing-transfer.png").default} alt="Transaction Signing Transfer" width="250" />
119+
<img src={require("/img/transaction-signing-transfer.png").default} alt="Transaction Signing Transfer" width="250" />
120120
121121
After user clicks the `Sign` button, the transction will be signed and
122-
submitted to the Alephium blockchain by the extension wallet.
122+
submitted to the Alephium blockchain by the extension wallet.

0 commit comments

Comments
 (0)