该板条箱验证了使用 SP1 生成的 Groth16 证明,利用 Solana 的 BN254 预编译进行高效的加密操作。
github: https://github.com/succinctlabs/sp1-solana
文章介绍:https://blog.succinct.xyz/solana-sp1/
该板条箱验证了使用 SP1 生成的 Groth16 证明,利用 Solana 的 BN254 预编译进行高效的加密操作。
github: https://github.com/succinctlabs/sp1-solana
文章介绍:https://blog.succinct.xyz/solana-sp1/
这是一个小的 Rust 程序,用于获取与给定地址关联的签名总数。签名数量与交易数量直接相关。
github: https://github.com/Eclipse-Laboratories-Inc/get-signatures-for-address
Octane 是 Solana 的无 gas 交易中继器。Octane 通过 HTTP API 接受交易,如果交易满足某些条件,则对其进行签名并广播到网络。
它旨在让任何人都能够作为无服务器 Node.js API 函数集合在 Vercel 上免费运行。
Solana 上的交易费用非常便宜,但用户仍然需要 SOL 来支付,而且他们通常不知道(或忘记)这一点。
github: https://github.com/anza-xyz/octane
demo: https://github.com/sevazhidkov/octane-demo
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
downloading stable installer
stable commit 20a8749 initialized
Adding
export PATH="/home/surou/.local/share/solana/install/active_release/bin:$PATH" to /home/surou/.profile
根据返回信息,添加path
export PATH="/home/surou/.local/share/solana/install/active_release/bin:$PATH" to /home/surou/.profile
测试查看版本
solana --version
solana-keygen new
Generating a new keypair
For added security, enter a BIP39 passphrase
NOTE! This passphrase improves security of the recovery seed phrase NOT the
keypair file itself, which is stored as insecure plain text
BIP39 Passphrase (empty for none):
Wrote new keypair to /home/surou/.config/solana/id.json
=================================================================================
pubkey: Aq46qVyLKFWWCCu7EpSfmMQ5YEYH31o78UJFqPmTDwvF
=================================================================================
Save this seed phrase and your BIP39 passphrase to recover your new keypair:
tourist useful danger situate sadness sentence answer know guilt paper merry draw
=================================================================================
为Aq46qVyLKFWWCCu7EpSfmMQ5YEYH31o78UJFqPmTDwvF当前钱包地址转一些SOL
当前keypair路径为:/home/surou/.config/solana/id.json
solana transfer --from /home/surou/.config/solana/id.json FwybPcg9rMjYcyM5kJSzeDrdtTebch6WdV7k1vzCC6Wq 0.5 --allow-unfunded-recipient --url https://api.devnet.solana.io --fee-payer /home/surou/.config/solana/id.json