-
Clone the project
git clone https://github.com/LBiyou/Treasure-Chest.git
-
Install Dependencies
pnpm i
-
Copy
.env.example
to.env.local
and fill in the required values. This step is critical, otherwise an error will be reported. -
Run locally
pnpm dev
-
Visit http://localhost:3000/
-
Constants: Provides some common constants for solidity smart contracts, such as type(uint256), zero address, etc.
-
Epoch Converter:Get a unix timestamp, get a timestamp
x
minutes/hours/days in the future, or convert a timestamp to a human-readable format. -
Converter:Implement data conversion.
- ETH: Ether unit conversion.
- Hexadecimal: Base conversion.
- Keccak256: Data hash operation.
- Padding:Data shifting.
- Address checksum:Format the address.
-
Transact: Send a raw data transaction.
-
Calldata:Encode and decode data.
-
decode:Decode data such as ABI, address, tx, etc.
-
encode:Developing...
-
-
Storage Slots:Implement contract slot query under the specified network.
-
Character Counter:The number of statistical data.
-
Signature:Sign the message.
- Batch Sign:Multiple signatures,The same message gets different signatures.
- EcRecoverSign:Sign the message, and decompose the signature.
- SignData:Follow the EIP191 protocol signature.
-
AccountCreate:Beautiful account generator (generate EOA account).
-
CalAddressByCreate2:Use create2 to calculate the contract address in advance (common function).
-
PriKeyToPubKey:The private key is converted into a public key.