
Mina Token Distribution and Supply
This post intends to help the Mina community understand how the MINA token will be distributed at the launch of Mina’s mainnet and throughout its lifecycle. Last Updated November 4, 2021 Mina is the world’s lightest blockchain. It is a public and decentralized blockchain that is open for anyone in the world to participate in actively or passively. Individuals or companies can help increase the security of the network by becoming nodes or block producers, or they can help lower the cost of tra...

Generating a Keypair
In order to create a keypair for Mainnet or to fully participate in a Mina test network, the first step is to generate a Keypair, which consists of a Public Key and a Private Key. Currently there are two supported tools for generating keypairs mina-generate-keypair and ledger-app-mina. We also have a tool for validating that your private key is created properly. Note that you may want to generate more than one keypair. For example, if you'd like to run a block producer most securely, you...

Mina-Ethereum State Proof Verification Applications.
IntroductionThis is the second post within the series of Mina-Ethereum bridge-dedicated blog posts of ours. The first one is in here. This time a description of how a Mina-Ethereum bridging application based on the in-EVM state proof verification of ours would work.Didn’t you post such a description already?Not really. What we do is not the bridge itself, but a core mechanism, a crucial component to achieving such a bridging. Mina state verification on Ethereum. This will not bring the bridge...

Mina Token Distribution and Supply
This post intends to help the Mina community understand how the MINA token will be distributed at the launch of Mina’s mainnet and throughout its lifecycle. Last Updated November 4, 2021 Mina is the world’s lightest blockchain. It is a public and decentralized blockchain that is open for anyone in the world to participate in actively or passively. Individuals or companies can help increase the security of the network by becoming nodes or block producers, or they can help lower the cost of tra...

Generating a Keypair
In order to create a keypair for Mainnet or to fully participate in a Mina test network, the first step is to generate a Keypair, which consists of a Public Key and a Private Key. Currently there are two supported tools for generating keypairs mina-generate-keypair and ledger-app-mina. We also have a tool for validating that your private key is created properly. Note that you may want to generate more than one keypair. For example, if you'd like to run a block producer most securely, you...

Mina-Ethereum State Proof Verification Applications.
IntroductionThis is the second post within the series of Mina-Ethereum bridge-dedicated blog posts of ours. The first one is in here. This time a description of how a Mina-Ethereum bridging application based on the in-EVM state proof verification of ours would work.Didn’t you post such a description already?Not really. What we do is not the bridge itself, but a core mechanism, a crucial component to achieving such a bridging. Mina state verification on Ethereum. This will not bring the bridge...

Subscribe to MinaWallet

Subscribe to MinaWallet
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers



Mina Client Javascript SDK 允许生成密钥对、签名和验证消息,以及可以将签名交易在网络上进行广播。
该项目包含 Typescript 和 ReasonML 的类型,但也可以从普通的 NodeJS 中使用。有以下几种方法:
genKeys - 生成公钥/私钥对。
derivePublicKey - 导出对应私钥的公钥。
signMessage - 对任意消息进行签名。
verifyMessage - 验证签名是否与消息匹配。
signPayment - 使用私钥对支付进行签名。
signstakes delegation - 使用私钥对权益委托进行签名
请注意
客户端 SDK 允许在从不向网络公开私钥的设备上生成和进行交易签名。
安装
yarn add @o1labs/client-sdk
npm install --save @o1labs/client-sdk
使用
Typescript
import * as MinaSDK from "@o1labs/client-sdk";
let keys = MinaSDK.genKeys(); let signed = MinaSDK.signMessage("hello", keys); if (MinaSDK.verifyMessage(signed)) { console.log("Message was verified successfully") };
let signedPayment = MinaSDK.signPayment({ to: keys.publicKey, from: keys.publicKey, amount: 1, fee: 1, nonce: 0 }, keys);
NodeJS
const MinaSDK = require("@o1labs/client-sdk");
let keys = MinaSDK.genKeys(); let signed = MinaSDK.signMessage("hello", keys); if (MinaSDK.verifyMessage(signed)) { console.log("Message was verified successfully") };
let signedPayment = MinaSDK.signPayment({ to: keys.publicKey, from: keys.publicKey, amount: 1, fee: 1, nonce: 0 }, keys);
ReasonML 安装 gentype:yarn add -D gentype
安装 bs-platform:yarn add -D bs-platform
编译依赖:yarn bsb -make-world
module MinaSDK = O1labsClientSdk.CodaSDK;
let keys = MinaSDK.genKeys(); let signed = MinaSDK.signMessage(. "hello", keys); if (MinaSDK.verifyMessage(. signed)) { Js.log("Message was verified successfully"); };
let signedPayment = MinaSDK.signPayment({ to_: keys.publicKey, from: keys.publicKey, amount: "1", fee: "1", nonce: "0" }, keys); 请注意
当产生交易时,您需要指定帐户。您可以通过 CLI 使用 mina advanced get-nonce -address 或使用 GraphQL 来获得这个账户。

Mina Client Javascript SDK 允许生成密钥对、签名和验证消息,以及可以将签名交易在网络上进行广播。
该项目包含 Typescript 和 ReasonML 的类型,但也可以从普通的 NodeJS 中使用。有以下几种方法:
genKeys - 生成公钥/私钥对。
derivePublicKey - 导出对应私钥的公钥。
signMessage - 对任意消息进行签名。
verifyMessage - 验证签名是否与消息匹配。
signPayment - 使用私钥对支付进行签名。
signstakes delegation - 使用私钥对权益委托进行签名
请注意
客户端 SDK 允许在从不向网络公开私钥的设备上生成和进行交易签名。
安装
yarn add @o1labs/client-sdk
npm install --save @o1labs/client-sdk
使用
Typescript
import * as MinaSDK from "@o1labs/client-sdk";
let keys = MinaSDK.genKeys(); let signed = MinaSDK.signMessage("hello", keys); if (MinaSDK.verifyMessage(signed)) { console.log("Message was verified successfully") };
let signedPayment = MinaSDK.signPayment({ to: keys.publicKey, from: keys.publicKey, amount: 1, fee: 1, nonce: 0 }, keys);
NodeJS
const MinaSDK = require("@o1labs/client-sdk");
let keys = MinaSDK.genKeys(); let signed = MinaSDK.signMessage("hello", keys); if (MinaSDK.verifyMessage(signed)) { console.log("Message was verified successfully") };
let signedPayment = MinaSDK.signPayment({ to: keys.publicKey, from: keys.publicKey, amount: 1, fee: 1, nonce: 0 }, keys);
ReasonML 安装 gentype:yarn add -D gentype
安装 bs-platform:yarn add -D bs-platform
编译依赖:yarn bsb -make-world
module MinaSDK = O1labsClientSdk.CodaSDK;
let keys = MinaSDK.genKeys(); let signed = MinaSDK.signMessage(. "hello", keys); if (MinaSDK.verifyMessage(. signed)) { Js.log("Message was verified successfully"); };
let signedPayment = MinaSDK.signPayment({ to_: keys.publicKey, from: keys.publicKey, amount: "1", fee: "1", nonce: "0" }, keys); 请注意
当产生交易时,您需要指定帐户。您可以通过 CLI 使用 mina advanced get-nonce -address 或使用 GraphQL 来获得这个账户。
No activity yet