- Generate Signer
starkli signer keystore new deployments/key.json
- Generating your account address locally
starkli account oz init deployments/starkli.json
| use ark_ff::{Fp64, MontBackend, fields::MontConfig}; | |
| use ark_poly::{DenseUVPolynomial, Polynomial, univariate::DensePolynomial}; | |
| #[derive(MontConfig)] | |
| #[modulus = "11"] | |
| #[generator = "1"] | |
| pub struct FqConfig; | |
| pub type Fq = Fp64<MontBackend<FqConfig, 1>>; | |
| fn main() { |
| import marimo | |
| __generated_with = "0.11.12" | |
| app = marimo.App(width="medium") | |
| @app.cell | |
| def _(): | |
| import altair as alt | |
| return (alt,) |
| 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@domainSave本 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 - <[email protected]> | |
| 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(); |