
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
tool-dapploy-nodejs
Advanced tools
Dapploy is a handy CLI tool for dApps. Create, build and dapploy your Smart Contracts!
Made with ❤️
by [XYO](https://xyo.network)
Finally, you can deploy dApps in less than 5 seconds flat WITHOUT even lifting a finger... Guaranteed!
OK, you may have to lift a finger.
But here's the deal.
We've gone through the hoops of deploying dApps on the Ethereum Network and have nuked out all of the annoying parts to make dapployment a breeze.
yarn && cd samples/sample-datavault-react/ && yarn && cd ../sample-datavault-solidity && yarn && cd ../..
npm install -g tool-dapploy-nodejs
dapploy -h
to see the options: $> dapploy -h
Usage: dapploy [options] [command]
Options:
-V, --version output the version number
-t, --projectDir <dir> Truffle Project Directory
-n, --network [network] Deploy to network (default: development)
-c, --config <config> Config file (default: .dapploy)
-o, --contractOutput <dir> Contract Output Directory
-x, --excludeContracts [Contract1,Contract2] Exclude contracts from the web3 interface (files are still copied)
-a, --includeContracts [Contract1,Contract2] Include contracts from the web3 interface (files are still copied)
-l, --clean Clean contracts before migrating
-r, --remoteOnly Only copy contracts remote
-p, --pinToIpfs Pin contracts to IPFS for remote access
-k, --bucketName Do remote copy of ABI to aws bucket (make sure to setup ~/.aws)
-y, --copyOnly Only do folder copy and S3 copy
-i, --init Add default config file to current directory
-h, --help output usage information
$> dapploy init -h
Usage: init [options] [dir]
Configure a new truffle project from scratch
Options:
-g, --configOnly Create dapploy config file in current directory
-s, --specifyContract [contract] Which type of project to create. Supporting: [ERC20, ERC721] (default: ERC20)
-h, --help output usage information
echo "alias dapploy=\"/<path_to_project>/tool-dapploy-nodejs/dapploy\""| cat >> .bash_profile
dapploy init
- create a new smart contract project!dapploy init my-first-coin -s ERC20
cd my-first-coin
Preferences...
Make sure that port is set to 8545. dapploy
</path/to>/dapploy
Congrats, you just built your first ERC-20 Token! Head on over to Dapper to play with it in a web-ui
cd samples/sample-datavault-solidity && dapploy
cd ../sample-datavault-react && yarn start
dapploy -p
$ Contracts stored to IPFS QmZ2Ezv4nsQ5tqGoHz4pUxa9GW88TWKMSzdxdMfxsHerWT
$ View contracts at https://ipfs.xyo.network/ipfs/QmZ2Ezv4nsQ5tqGoHz4pUxa9GW88TWKMSzdxdMfxsHerWT
env.template
file:WALLET=// wallet used to deploy contracts
INFURA_API_KEY=// API key you get from infura
MNENOMIC=// 12 word pass key from derived from your wallet private key
env.template
to .env
(this file is already in your .gitignore)mv env.template .env
dapploy -n kovan
Ropsten:
dapploy -n ropsten
NOTE You don't need to specify -n network
if you change .dapploy
configuration file in your project from network=development
to network=kovan
etc.
vi .dapploy
If you are feeling adventurous run a local testnet node:
Setup account with portis.io
Add Portis and Infura key to .dapploy
vi .dapploy
Uncomment:
# [Portis]
# portisApiKey=<API_KEY>
# infuraApiKey=<INFURA_API_KEY>
vi ~/.aws/credentials
[default]
aws_access_key_id = AKIAIFYQ4UEUUJ6GDH6A
aws_secret_access_key = FAKEasdfas=aqewrasdfa/sdfasdfasdfasdfFAKE
vi .dapploy
Uncomment:
#[AWS]
#bucketName=layerone.smart-contracts
#remotePath=ABI
Made with ❤️ by XYO
FAQs
Dapploy is a handy CLI tool for dApps. Create, build and dapploy your Smart Contracts!
The npm package tool-dapploy-nodejs receives a total of 3 weekly downloads. As such, tool-dapploy-nodejs popularity was classified as not popular.
We found that tool-dapploy-nodejs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.