- 管理员创建众筹 crowdfund::create
- 参数
orign: Origin
- 要求 Signed ,任何账号都可以发起众筹
cap: Balance
- 参数
- 最多可以筹得的硬顶
const mh = require('multihashes') | |
const crypto = require('libp2p-crypto') | |
const secp256k1factory = require('libp2p-crypto-secp256k1') | |
const { Secp256k1PrivateKey } = secp256k1factory(crypto.keys.keysPBM, crypto.randomBytes) | |
const input = '0000000000000000000000000000000000000000000000000000000000000001' | |
const key = Buffer.from(input, 'hex') | |
const sk = new Secp256k1PrivateKey(key) |
native = ([70, 127, 1, 0, 20, 69, 118, 101, 110, 116, 52, 24, 115, 121, 115, 116, 101, 109, 8, 64, 69, 120, 116, 114, 105, 110, 115, 105, 99, 83, 117, 99, 99, 101, 115, 115, 0, 4, 148, 32, 65, 110, 32, 101, 120, 116, 114, 105, 110, 115, 105, 99, 32, 99, 111, 109, 112, 108, 101, 116, 101, 100, 32, 115, 117, 99, 99, 101, 115, 115, 102, 117, 108, 108, 121, 46, 60, 69, 120, 116, 114, 105, 110, 115, 105, 99, 70, 97, 105, 108, 101, 100, 0, 4, 84, 32, 65, 110, 32, 101, 120, 116, 114, 105, 110, 115, 105, 99, 32, 102, 97, 105, 108, 101, 100, 46, 28, 105, 110, 100, 105, 99, 101, 115, 4, 60, 78, 101, 119, 65, 99, 99, 111, 117, 110, 116, 73, 110, 100, 101, 120, 8, 36, 65, 99, 99, 111, 117, 110, 116, 73, 100, 48, 65, 99, 99, 111, 117, 110, 116, 73, 110, 100, 101, 120, 4, 108, 32, 65, 32, 110, 101, 119, 32, 97, 99, 99, 111, 117, 110, 116, 32, 119, 97, 115, 32, 99, 114, 101, 97, 116, 101, 100, 46, 32, 98, 97, 108, 97, 110, 99, 101, 115, 12, 40, 78, 101, 119, 65, 99, 99, 111, 117, 110, 116, 8, 36, 65, 99, 99, 111, 117, 110, |
RuntimeMetadataPrefixed( | |
1635018093, | |
V2( | |
RuntimeMetadataV2 { | |
modules: [ | |
ModuleMetadata { | |
name: "system", | |
prefix: "System", | |
storage: Some( | |
[ |
RuntimeMetadataPrefixed( | |
1635018093, | |
V2( | |
RuntimeMetadataV2 { | |
modules: [ | |
ModuleMetadata { | |
name: "system", | |
prefix: "System", | |
storage: Some( | |
[ |
{ | |
"magicNumber": 1635018093, | |
"metadata": { | |
"MetadataV2": { | |
"modules": [ | |
{ | |
"name": "system", | |
"prefix": "System", | |
"storage": [ | |
{ |
TLDR; Running 1 + 1 = 2 on Kusama: https://kusama.subscan.io/extrinsic/4025533-1
Inputs: Two accounts
- https://kusama.subscan.io/account/F3NJ4gDQR8WCGGauo3ewRxx2cyxWbj8nH3Q8sDdSb66on1D
- https://kusama.subscan.io/account/DDb6Ln2vywhV7fXZfmy2j4prsaXiUgKXJB5GYMiZjtwYgvN
Output:
If you are looking to build something on Polkadot ecosystem but don't know where to start, here is a list of the ideas that I would love to see them implemented.
If you actually start building one of those, or are already building something similar, please reach out to me and I can help you with mentoring & technical support (either from myself, someone from Acala team, or connect you to Parity or other ecosystem teams) and funding support (Polkadot Treasury, Kusama Treasury, W3F grant, Acala grant, other ecosystem grant).
If you have other ideas, please comment below and I can add it to the list.
Note that many teams are already working on various important common good library and tools such as generic multichain transaction history service so I will refrain to list those to avoid potential duplicated works.
#!/usr/bin/env bash | |
tmux new-session -d -s logs || true | |
for name in `docker ps --format json | jq -s 'sort_by(.Names)|.[].Names)'` | |
do | |
tmux split-window -h -f | |
tmux send-keys "docker logs -f -n 20 $name" C-m | |
tmux select-pane -T $name | |
done | |
tmux kill-pane -t 0 |