Skip to content

Commit

Permalink
fix typos related to darwinia
Browse files Browse the repository at this point in the history
  • Loading branch information
hackfisher committed May 13, 2024
1 parent acbf830 commit 7694593
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
12 changes: 7 additions & 5 deletions src/components/Governed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ const Governed = () => {
className="w-[2.75rem] h-[2.75rem] lg:w-[4.625rem] lg:h-[4.625rem]"
/>
</a>
<img
src="/images/GovernedLogo2.png"
alt=""
className="w-[2.75rem] h-[2.75rem] lg:w-[4.625rem] lg:h-[4.625rem]"
/>
<a href="https://github.com/xapi-box" target="_blank">
<img
src="/images/GovernedLogo2.png"
alt=""
className="w-[2.75rem] h-[2.75rem] lg:w-[4.625rem] lg:h-[4.625rem]"
/>
</a>
</div>
</div>
</Container>
Expand Down
2 changes: 1 addition & 1 deletion src/components/HowItWorks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const HowItWorks = () => {
</p>
<p className="text-[1rem] leading-[1.563rem] font-[300] text-white ">
With Msgport service layer, direct usage is simplified, while the
Darwinia open-source community handle the intricate integration and
Msgport open-source community handle the intricate integration and
construction efforts
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/data/ChainFree.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id" : 1 ,
"greenTitle" : "Chain-Free" ,
"whiteTitle" : "Empowerment" ,
"desc" : "Darwinia revolutionizes DApp development, enabling developers to easily build across multiple chains, free from underlying protocol constraints, and focus on innovation and user experience" ,
"desc" : "Msgport revolutionizes DApp development, enabling developers to easily build across multiple chains, free from underlying protocol constraints, and focus on innovation and user experience" ,
"icon" : "/assets/icons/chainFree.svg"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/data/Resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
} ,
{
"logo" : "/images/MessagesExplorer.png" ,
"title" : "Darwinia Messages Explorer" ,
"title" : "Msgport Scan Explorer" ,
"desc" : "It serves as a comprehensive platform for following transactions over the Msgport, helping users and developers to manage and analyze cross-chain data more effectively."
} ,
{
Expand Down
18 changes: 9 additions & 9 deletions src/data/code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export const menu: {
title: "Msgport Interface",
description:
"This interface provides developers with a generic message passing interface to send arbitrary data between contracts on different blockchain networks.",
code: `// This file is part of Darwinia.
// Copyright (C) 2018-2023 Darwinia Network
code: `// This file is part of Msgport.
// Copyright (C) 2024 Msgport
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
Expand Down Expand Up @@ -43,13 +43,13 @@ export const menu: {
title: "Deploy ExampleReceiverDapp",
description:
"Deploy a receiver contract on the target chain to receive messages. (for example purposes only)",
code: `// This file is part of Darwinia.
// Copyright (C) 2018-2023 Darwinia Network
code: `// This file is part of Msgport.
// Copyright (C) 2024 Msgport
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.17;
import "https://github.com/darwinia-network/darwinia-msgport/blob/main/src/user/Application.sol";
import "https://github.com/msgport/msgport/blob/main/src/user/Application.sol";
contract ExampleReceiverDapp is Application {
event DappMessageRecv(uint256 fromChainId, address fromDapp, address localPort, bytes message);
Expand Down Expand Up @@ -124,7 +124,7 @@ export const menu: {
'to_address': <ReceiverAddress>,
'refund_address': <RefundAddress>,
};
const result = await axios.get("https://msgport-api.darwinia.network/ormp/fee", { params: requestBody });
const result = await axios.get("https://api.msgport.xyz/ormp/fee", { params: requestBody });
const { fee, params } = result.data.data;
console.log(fee, params);
}
Expand All @@ -135,13 +135,13 @@ export const menu: {
{
title: "Sending message",
description: "",
code: `// This file is part of Darwinia.
// Copyright (C) 2018-2023 Darwinia Network
code: `// This file is part of Msgport.
// Copyright (C) 2024 Msgport
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.17;
import "https://github.com/darwinia-network/darwinia-msgport/blob/main/src/interfaces/IMessagePort.sol";
import "https://github.com/msgport/msgport/blob/main/src/interfaces/IMessagePort.sol";
contract ExampleSenderDapp {
event DappMessageSent(address localPort, bytes message);
Expand Down

0 comments on commit 7694593

Please sign in to comment.