Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@builderdao/cli
Advanced tools
A CLI to interact with BuilderDAO on-chain programs.
Build the ESM and CJS modules with:
yarn build:cli
Once it has been built, you can invoke the CLI from anywhere with builderdao
.
builderdao -v
displays the current version of builderdao
.
builderdao
or builderdao <command>
will display extended help, for example builderdao tutorial
will output:
Usage: builderdao tutorial [options] [command]
Initialize & publish Kafé tutorials
Options:
-h, --help display help for command
Commands:
get <learnPackageName> Display metadata for a single tutorial
init [options] Initialize a tutorial package from a
proposal
list List all tutorials and metadata
prepublish [learnPackageName] Perform pre-publishing tasks
publish [options] [learnPackageName] Publish tutorial to Arweave & Ceramic
-h
or --help
option after the command, for example builderdao tutorial prepublish --help
will output:Usage: builderdao tutorial prepublish [options] [learnPackageName]
Perform pre-publishing tasks
Arguments:
learnPackageName Tutorial slug for complete tutorial package
Options:
-h, --help Display help for command
Example call:
$ builderdao tutorial prepublish near-101
Notes:
- The prepublish workflow deals with the builderdao-config.service to generate the
builderdao config and lock files, also updating the hash digest of the tutorial folder.
Example calls start with the default prompt character $ - Remember that it is not part of the command!
--kafePk
can be used to specify the Kafé token public key, the default will be used if one is not provided.
--network
will default to Solana's testnet cluster if you do not specify another cluster. Only use localnet if you have a currently running Solana Test Validator. Note that the default may change in the future when Kafé is deployed to mainnet.
--payer
can be used to specify a base58 encoded private key to sign any Solana transactions required by the CLI.
Usage: builderdao [options] [command]
Options:
-h, --help Display help for command
-k, --key <key> Get key from the result
--kafePk <kafePk> Kafe Token PublicKey (default:
"KAFE5ivWfDPP3dek2m36xvdU2NearVsnU5ryfCSAdAW")
--network <network> Solana Network (choices: "mainnet-beta", "devnet",
"testnet", "localnet", default: "testnet")
--payer <payer> Base58-encoded private key to sign trasactions (default:
"4TbkzfQgj37cvwRuNFGmABUZ8aZrnSkym9kw22hNgP6Y1cTrENV53srxZxwgwZFN4LXELzBnN2v3q8DjsgjFJU5e")
-v --version Outputs version number
If you provide the flag -k
or --key
, the result will be accessed via _.get(result, key)
:
$ builderdao reviewer get -p 8JDKJA3pW7xbxGKkRraZiQCd6nTF9MZtrBv6Ah8BNyvU -k githubName
Output would be "Necmttn"
Only Kafé Admins can alter the state of a proposal. The Keypair can be passed as an environment variable.
ADMIN_KP=$ADMIN_KP builderdao proposal setstate 1 -state published
or
builderdao proposal setstate 1 -state published -a $ADMIN_KP
FAQs
A CLI to interact with BuilderDAO on-chain programs.
The npm package @builderdao/cli receives a total of 0 weekly downloads. As such, @builderdao/cli popularity was classified as not popular.
We found that @builderdao/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.