A consolidated library featuring numerous blockchains authentication techniques on CKB-VM. More details in auth.md. We also write a simple script to demonstrate how to use this library.
The CKB-VM in CKB has provided a multitude of advanced smart contract functionalities that are not typically found within other blockchain networks. CKB presents a seamless solution for implementing blockchain interoperability. Through the utilization of ckb-auth, a sophisticated smart contract library, users can effortlessly access CKB assets from alternate blockchain wallets, such as Ethereum or Bitcoin, without the use of a CKB wallet.
To illustrate, considering a scenario where Alice only possesses an Ethereum wallet, Bob can transmit assets, including CKB or NFT, to Alice. With the application of ckb-auth, Alice can effectively utilize and transfer these assets using her Ethereum wallet without requiring the creation of a CKB wallet throughout the process.
The Portal Wallet offers support for the following blockchains:
- Bitcoin
- Ethereum
- EOS
- Tron
- Dogecoin
- CKB
The functionalities have been ported and implemented in ckb-auth. See auth for more information.
We also have some tutorials for following blockchains:
git submodule update --init
make all-via-docker
For more details, please check out CI script.
cd tests/auth_rust && bash run.sh
Before running test cases with spawn support, please install ckb-debugger for next hardfork:
cargo install --locked --branch ckb2023 --git https://github.com/nervosnetwork/ckb-standalone-debugger ckb-debugger
Then run:
cd tests/auth_spawn_rust && make all