CLI tool for Scrypto development on Radix DLT - deploy packages, generate types, manage accounts, and more
npm install scrypto-devA powerful CLI tool for Scrypto development on Radix DLT. Deploy packages, generate types, manage accounts, and streamline your Radix development workflow.
- š Package Deployment: Deploy .wasm and .rpd files to Radix networks
- š Transaction Manifests: Submit .rtm manifest files for custom transactions
- š Account Management: Create, import, and manage Radix accounts
- š Network Support: Works with both Stokenet (testnet) and Mainnet
- š° Faucet Integration: Request test tokens on Stokenet
- š Asset Management: List fungible tokens and NFTs
- š§ Type Generation: Generate TypeScript types for deployed packages
- š Mnemonic Support: Generate and import from 24-word mnemonics
``bash`
npm install -g scrypto-dev
1. Set up your environment:
`bash`
scrypto-dev set-env stokenet
2. Create or import an account:
`bash`
# Generate a new account
scrypto-dev new-address
# Or import from mnemonic
scrypto-dev import-mnemonic "your 24-word mnemonic phrase here"
3. Set active account:
`bash`
scrypto-dev list-address
scrypto-dev set-address
4. Get test tokens (Stokenet only):
`bash`
scrypto-dev faucet
5. Deploy a package:
`bash`
# Navigate to your Scrypto project directory
cd your-scrypto-project
# Deploy
scrypto-dev deploy
- Set environment (stokenet/mainnet)
- scrypto-dev show-env - Show current environment$3
- scrypto-dev new-address - Generate new account
- scrypto-dev import-address - Import from passphrase/private key
- scrypto-dev import-mnemonic - Import from 24-word mnemonic
- scrypto-dev generate-mnemonic - Generate new 24-word mnemonic
- scrypto-dev list-address - List all accounts
- scrypto-dev set-address - Set active account$3
- scrypto-dev list-fungibles - List fungible tokens
- scrypto-dev list-nfts - List NFTs
- scrypto-dev faucet - Request test tokens (Stokenet only)$3
- scrypto-dev deploy - Deploy package from current directory
- scrypto-dev generate-types - Generate TypeScript types
- scrypto-dev submit - Submit transaction manifest file
- scrypto-dev create-manifest [template] - Create manifest template (basic/faucet)Package Deployment
The deploy command automatically:
1. Finds your
.wasm and .rpd files in target/wasm32-unknown-unknown/release/
2. Decodes the RPD content properly
3. Creates a deployment manifest with fee locking
4. Submits the transaction to the configured network
5. Provides transaction status and package address$3
- Built Scrypto project with artifacts in the expected directory
- Active account with sufficient XRD for fees
- Network environment configured$3
`
your-scrypto-project/
āāā Cargo.toml
āāā src/
ā āāā lib.rs
āāā target/
āāā wasm32-unknown-unknown/
āāā release/
āāā your_package.wasm
āāā your_package.rpd
``- Stokenet: Test network for development and testing
- Mainnet: Production network
Always test thoroughly on Stokenet before deploying to Mainnet!
- Node.js 18+
- npm or yarn
- Rust and Scrypto toolchain (for building Scrypto packages)
Note: Type generation works out of the box with precompiled binaries - no Rust installation required!
1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Add tests if applicable
5. Submit a pull request
MIT License - see LICENSE file for details
- Report issues: GitHub Issues
- Documentation:
- Deployment Guide
- Manifest Usage Guide
- Binary Publishing Guide