-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(website): alpha-5 docs (#14725)
Co-authored-by: Marcus Wentz <[email protected]> Co-authored-by: Kenk <[email protected]>
- Loading branch information
1 parent
6e5b789
commit 2abe121
Showing
83 changed files
with
9,017 additions
and
5,731 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
.next | ||
node_modules | ||
# temporarily ignoring auto-generated contract documentation until | ||
# we can separate L2/L3 contracts | ||
contract-documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
// export base configs | ||
import { JOLNIR_CONFIG } from "./jolnir/config"; | ||
import { JOLNIR_ADD_ETHEREUM_CHAIN } from "./jolnir/addEthereumChain"; | ||
import { JOLNIR_ADD_TOKENS } from "./jolnir/addTokens"; | ||
|
||
export { SEPOLIA_CONFIG } from "./sepolia/config"; | ||
export { GRIMSVOTN_CONFIG } from "./grimsvotn/config"; | ||
export { ELDFELL_CONFIG } from "./eldfell/config"; | ||
export { JOLNIR_CONFIG } from "./jolnir/config"; | ||
|
||
// export add ethereum chain configs | ||
export { SEPOLIA_ADD_ETHEREUM_CHAIN } from "./sepolia/addEthereumChain"; | ||
export { GRIMSVOTN_ADD_ETHEREUM_CHAIN } from "./grimsvotn/addEthereumChain"; | ||
export { ELDFELL_ADD_ETHEREUM_CHAIN } from "./eldfell/addEthereumChain"; | ||
export { JOLNIR_ADD_ETHEREUM_CHAIN } from "./jolnir/addEthereumChain"; | ||
|
||
export { SEPOLIA_ADD_TOKENS } from "./sepolia/addTokens"; | ||
export { GRIMSVOTN_ADD_TOKENS } from "./grimsvotn/addTokens"; | ||
export { ELDFELL_ADD_TOKENS } from "./eldfell/addTokens"; | ||
export { JOLNIR_ADD_TOKENS } from "./jolnir/addTokens"; | ||
|
||
// alias abstract taiko config to a concrete config | ||
export const TAIKO_CONFIG = JOLNIR_CONFIG; | ||
export const TAIKO_ADD_ETHEREUM_CHAIN = JOLNIR_ADD_ETHEREUM_CHAIN; | ||
export const TAIKO_ADD_TOKENS = JOLNIR_ADD_TOKENS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { JOLNIR_CONFIG } from "./config"; | ||
import { AddEthereumChainParameter } from "../baseTypes"; | ||
|
||
export const JOLNIR_ADD_ETHEREUM_CHAIN: AddEthereumChainParameter = { | ||
chainId: JOLNIR_CONFIG.chainId.hex, | ||
chainName: JOLNIR_CONFIG.names.mediumName, | ||
nativeCurrency: JOLNIR_CONFIG.nativeCurrency, | ||
rpcUrls: [JOLNIR_CONFIG.rpc.https], | ||
blockExplorerUrls: [JOLNIR_CONFIG.blockExplorer.url], | ||
iconUrls: [], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { AddTokenParameter } from "../baseTypes"; | ||
import { JOLNIR_CONFIG } from "./config"; | ||
|
||
export const JOLNIR_ADD_TTKOJ: AddTokenParameter = { | ||
address: | ||
JOLNIR_CONFIG.rollupContracts.erc20Contracts.bridgedTaikoToken.address.impl, | ||
symbol: JOLNIR_CONFIG.rollupContracts.erc20Contracts.bridgedTaikoToken.symbol, | ||
decimals: | ||
JOLNIR_CONFIG.rollupContracts.erc20Contracts.bridgedTaikoToken.decimals, | ||
image: | ||
"https://raw.githubusercontent.com/taikoxyz/taiko-mono/main/packages/branding/testnet-token-images/ttko.svg", | ||
}; | ||
|
||
export const JOLNIR_ADD_BLL: AddTokenParameter = { | ||
address: | ||
JOLNIR_CONFIG.rollupContracts.erc20Contracts.bridgedBullToken.address.impl, | ||
symbol: JOLNIR_CONFIG.rollupContracts.erc20Contracts.bridgedBullToken.symbol, | ||
decimals: | ||
JOLNIR_CONFIG.rollupContracts.erc20Contracts.bridgedBullToken.decimals, | ||
image: | ||
"https://raw.githubusercontent.com/taikoxyz/taiko-mono/main/packages/branding/testnet-token-images/bull.svg", | ||
}; | ||
|
||
export const JOLNIR_ADD_HORSE: AddTokenParameter = { | ||
address: | ||
JOLNIR_CONFIG.rollupContracts.erc20Contracts.bridgedHorseToken.address.impl, | ||
symbol: JOLNIR_CONFIG.rollupContracts.erc20Contracts.bridgedHorseToken.symbol, | ||
decimals: | ||
JOLNIR_CONFIG.rollupContracts.erc20Contracts.bridgedHorseToken.decimals, | ||
image: | ||
"https://raw.githubusercontent.com/taikoxyz/taiko-mono/main/packages/branding/testnet-token-images/horse.svg", | ||
}; | ||
|
||
export const JOLNIR_ADD_TOKENS = [ | ||
JOLNIR_ADD_TTKOJ, | ||
JOLNIR_ADD_BLL, | ||
JOLNIR_ADD_HORSE, | ||
]; |
Oops, something went wrong.
2abe121
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deployment failed with the following error: