diff --git a/README.md b/README.md index 8a60db1ff..062d483ac 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ npm run dev `NET` is used for setting the default network, setting it to `mainnet` uses the public Ethereum network. If it is not set it defaults to Sepolia testnet. It can also take any network names that Ethers.JS supports, such as `sepolia`, `maticmum`, etc. -However do note that there are only drag & drop demo files provided for main net, goerli(deprecated), sepolia and polygon mumbai. +However do note that there are only drag & drop demo files provided for main net, sepolia and polygon mumbai. E.g: diff --git a/cms/faq/how-does-tradetrust-utilise-blockchain.md b/cms/faq/how-does-tradetrust-utilise-blockchain.md index be300a4e1..4aad5668d 100644 --- a/cms/faq/how-does-tradetrust-utilise-blockchain.md +++ b/cms/faq/how-does-tradetrust-utilise-blockchain.md @@ -3,11 +3,12 @@ title: "Why does it use public blockchains? " date: 2020-01-01T16:00:00.000Z type: Product --- -As TradeTrust is designed to facilitate trusted digital document exchanges used in cross-border trade and logistics processes, our target audiences therefore involve many different parties across different geographies. Blockchain or Distributed Ledger Technology is used as it can demonstrate provenance, which is required for the legitimacy of documents such as Bills of Lading. One of UNCITRAL MLETR’s requirements for electronic transferable records is to ensure singularity of the record. TradeTrust uses Non-Fungible Tokens (NFTs) to satisfy this requirement when dealing with Transferable documents and Blockchain is used to record the NFT transactions. -TradeTrust relies on public blockchain technology (either Ethereum or Polygon) to electronically endorse and transfer the ownership of a trade financing document amongst the stakeholders along a trade flow. TradeTrust’s use of public blockchain was a deliberate choice as in a global setting, there should not be a need for a central authority or body to govern the use of a network and gatekeep participation. Public blockchains also allow for an open and interoperable system that enables all international parties to participate. +As TradeTrust is designed to facilitate trusted digital document exchanges used in cross-border trade and logistics processes, our target audiences therefore involve many different parties across different geographies. Blockchain or Distributed Ledger Technology is used as it can demonstrate provenance, which is required for the legitimacy of documents such as Bills of Lading. One of UNCITRAL MLETR’s requirements for electronic transferable records is to ensure singularity of the record. TradeTrust uses Non-Fungible Tokens (NFTs) to satisfy this requirement when dealing with Transferable documents and Blockchain is used to record the NFT transactions. + +TradeTrust relies on public blockchain technology (either Ethereum or Polygon) to electronically endorse and transfer the ownership of a trade financing document amongst the stakeholders along a trade flow. TradeTrust’s use of public blockchain was a deliberate choice as in a global setting, there should not be a need for a central authority or body to govern the use of a network and gatekeep participation. Public blockchains also allow for an open and interoperable system that enables all international parties to participate. TradeTrust caters to the following blockchain networks. 1. **Mainnet**: . In the mainnet it supports the Ethereum and Polygon (beta) network. -2. **Testnet**: . In the testnet environment, it utilises the goerli, sepolia and Polygon Mumbai network. Please note sepolia and goerli are Ethereum test network. The Polygon Mumbai is the test network for Polygon (beta). \ No newline at end of file +2. **Testnet**: . In the testnet environment, it utilises the sepolia and Polygon Mumbai network. Please note sepolia is Ethereum test network. The Polygon Mumbai is the test network for Polygon (beta). diff --git a/src/common/contexts/helpers.tsx b/src/common/contexts/helpers.tsx index d8a9e580d..046d2b720 100644 --- a/src/common/contexts/helpers.tsx +++ b/src/common/contexts/helpers.tsx @@ -2,7 +2,7 @@ // import { MAGIC_API_KEY } from "../../config"; // export const magic = new Magic(MAGIC_API_KEY, { -// network: "goerli", // fix to goerli network only +// network: "sepolia", // fix to sepolia network only // }); const dummyMagic: unknown = {}; // HOT FIX (removal of magic demo until we make a decision whether to kill it or not) diff --git a/src/components/CertificateViewer.tsx b/src/components/CertificateViewer.tsx index 4f2e9d255..30e93fe30 100644 --- a/src/components/CertificateViewer.tsx +++ b/src/components/CertificateViewer.tsx @@ -90,7 +90,7 @@ export const CertificateViewer: FunctionComponent = ({ i const { currentChainId } = useProviderContext(); /* Update the certificate when network is changed UNLESS: - - it is Magic Demo certificate, as the network does not change for it (fixed at Goerli). + - it is Magic Demo certificate, as the network does not change for it (fixed at Sepolia). - it is Sample certificate, as it is already updated when user changed network from network selector dropdown provided by website UI (not the metamask extension network selector) */ useEffect(() => { diff --git a/src/config/chain-config.ts b/src/config/chain-config.ts index ff056e118..7cdc1736b 100644 --- a/src/config/chain-config.ts +++ b/src/config/chain-config.ts @@ -12,9 +12,4 @@ export const MAIN_NETWORKS = [ /** * Supported networks in development environment */ -export const TEST_NETWORKS = [ - ChainId.Goerli, // Deprecated - ChainId.Sepolia, - ChainId.PolygonMumbai, - ChainId.APOTHEM, -]; +export const TEST_NETWORKS = [ChainId.Sepolia, ChainId.PolygonMumbai, ChainId.APOTHEM]; diff --git a/src/constants/chain-info.ts b/src/constants/chain-info.ts index 20ecbeae7..851f4678f 100644 --- a/src/constants/chain-info.ts +++ b/src/constants/chain-info.ts @@ -30,7 +30,6 @@ export enum ChainId { Ethereum = 1, // Ethereum Testnet - Goerli = 5, Sepolia = 11155111, // Polygon @@ -60,14 +59,6 @@ export const ChainInfo: ChainInfo = { networkLabel: "Ethereum", explorerUrl: "https://etherscan.io", }, - [ChainId.Goerli]: { - label: "Goerli", - chainId: ChainId.Goerli, - iconImage: "/static/images/networks/ethereum.gif", - networkName: "goerli", - networkLabel: "Goerli", - explorerUrl: "https://goerli.etherscan.io", - }, [ChainId.Sepolia]: { label: "Sepolia", chainId: ChainId.Sepolia, diff --git a/src/services/verify/index.tsx b/src/services/verify/index.tsx index f07d99fa0..a38d0370e 100644 --- a/src/services/verify/index.tsx +++ b/src/services/verify/index.tsx @@ -30,7 +30,7 @@ const customVerifier = (provider: providers.Provider | undefined) => verificationBuilder([...openAttestationVerifiers, openAttestationDidIdentityProof], verificationOption(provider)); const demoVerifier = verificationBuilder([...openAttestationVerifiers, openAttestationDidIdentityProof], { - network: "goerli", + network: "sepolia", }); export const verifyDocument = async (