diff --git a/README.md b/README.md index f54ee44..d1ea75f 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,12 @@ ## Disclaimer -- This is a PoC demo to show how to use JoyID and the new witness layout and transaction building process named Cobuild. -- The demo uses a custom lock which has a different CKB address from the JoyID CKB address. -- The [contract](contracts/joyid-cobuild-poc/README.md) has not been audited, USE AT YOUR OWN RISK! +- This is a PoC demo showcasing the management of DAO deposits through the use of a new witness layout and transaction building protocol named **Cobuild**. +- In this demo, JoyID is used to sign transactions. Please note that the CKB address used in this demo is different from the official JoyID CKB address, as a [custom lock][custom-lock] is employed to support the Cobuild witness layout. +- The [custom lock][custom-lock] utilized in this demo has never been audited, USE AT YOUR OWN RISK! +- There's a [preview](https://ckb-dao-cobuild-poc.vercel.app/) deployed to the testnet, have fun. + +[custom-lock]: contracts/joyid-cobuild-poc/README.md ## Getting Started diff --git a/src/app/disclaimer.js b/src/app/disclaimer.js index c381237..9e95fd9 100644 --- a/src/app/disclaimer.js +++ b/src/app/disclaimer.js @@ -1,24 +1,24 @@ -"use client"; - -import { useState } from "react"; import { Alert } from "flowbite-react"; -export default function Disclaimer() { - const [dismissed, setDismissed] = useState(false); - - return dismissed ? null : ( +export default function Disclaimer({ config: { ckbChain } }) { + return (

Disclamer!

-

- This is a PoC demo to show how to use JoyID and the new witness layout - and transaction building process named Cobuild. -

-

- The demo uses a custom lock which has a different CKB address from the - JoyID CKB address. -

-

The contract used by this demo has not been audited.

-

This demo runs in CKB testnet.

+
); } diff --git a/src/app/page.js b/src/app/page.js index f2b6045..47261bc 100644 --- a/src/app/page.js +++ b/src/app/page.js @@ -6,7 +6,7 @@ export default function RootPage({ config }) { config = config ?? useConfig(); return (
- +
);