- Generate Signer
starkli signer keystore new deployments/key.json
- Generating your account address locally
starkli account oz init deployments/starkli.json
user: User { | |
shape: Person | |
} | |
exector: Executor { | |
code: |rust | |
fn call( | |
self: @ContractState, | |
class_hash: ClassHash, | |
entrypoint: felt252, |
如何获得蓝标认证?
蓝标认证事实上基于 NIP-05 标准,您可以在任意自己掌控的位置内进行认证。
方法如下:
.well-known/nostr.json
文件{"names":{"<username>":"<public_key>"}}
Profile
-> Edit
-> NIP-05 VERIFICATION
键入 username@domain
Save
本 gist 介绍 clickhouse 的安装。
使用以下命令下载:
curl https://clickhouse.com/ | sh
使用以下命令安装:
sudo ./clickhouse install
// SPDX-License-Identifier: LGPL-3.0-only | |
pragma solidity >=0.7.0 <0.9.0; | |
/// @title IProxy - Helper interface to access masterCopy of the Proxy on-chain | |
/// @author Richard Meissner - <richard@gnosis.io> | |
interface IProxy { | |
function masterCopy() external view returns (address); | |
} | |
/// @title GnosisSafeProxy - Generic proxy contract allows to execute all transactions applying the code of a master contract. |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.13; | |
import "solmate/tokens/ERC20.sol"; | |
import "openzeppelin-contracts/contracts/access/Ownable.sol"; | |
error NoPayMintPrice(); | |
error WithdrawTransfer(); | |
error MaxSupply(); |