Open liusong1111 opened 4 years ago
https://github.com/rebase-network/synapse-extension/blob/af0985a81b5a6d578b3605bb459b4487283ffab4/src/keyper/keyperwallet.ts#L100
address: scriptToAddress(script.meta.script, { networkPrefix: 'ckt', short: true }),
https://github.com/rebase-network/synapse-extension/blob/43c48063aff2dfa64e1c823583233b8a7670daa7/src/wallet/address.ts#L100
const lockHash = ckbUtils.scriptToHash({ hashType: 'type', codeHash: Ckb.MainNetCodeHash, args: publicKeyHash, });
check hard code
https://github.com/rebase-network/synapse-extension/blob/41a7c2d56288bcbdd5ece8b81e95fcf47ac98f3f/src/ui/App.tsx#L28
https://github.com/rebase-network/synapse-extension/blob/bb8fc827adca2ab2281480dd068858d1882ccbf4/src/ui/Components/TxDetail/index.tsx#L115
href={`https://explorer.nervos.org/aggron/transaction/${txHash}`}
https://github.com/rebase-network/synapse-extension/blob/af0985a81b5a6d578b3605bb459b4487283ffab4/src/keyper/keyperwallet.ts#L100
https://github.com/rebase-network/synapse-extension/blob/43c48063aff2dfa64e1c823583233b8a7670daa7/src/wallet/address.ts#L100
check hard code
https://github.com/rebase-network/synapse-extension/blob/41a7c2d56288bcbdd5ece8b81e95fcf47ac98f3f/src/ui/App.tsx#L28