
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@colony/colony-starter-contract
Advanced tools
A boilerplate to start building extension contracts alongside colonyNetwork!
>=10.13.0
>=1.12.0
>=18.09.0
You may find it helpful to use Node Version Manager (nvm
) to manage Node versions.
If you are using Linux, check out Linux Setup to ensure Yarn and Docker are set up accordingly.
Globally install the colony-cli package:
yarn global add @colony/colony-cli
Move to your working directory and unpack the colony-starter-contract package:
colony build colony-starter-contract
Move to your new project directory and follow the instructions below:
cd colony-starter-contract
Alternatively, you can use npx and unpack the colony-starter-contract package without installing the colony-cli package.
Build the colonyStarter package using npx
:
npx -p @colony/colony-cli colony build colony-starter-contract
Open a new terminal window and start Ganache:
yarn start-ganache
Open a new terminal window and deploy the colonyNetwork contracts:
yarn deploy-contracts
Once the contracts have been deployed, start TrufflePig:
yarn start-trufflepig
Open a new terminal window and create a test colony:
yarn colony-setup
Run truffle
commands using colony-cli:
yarn truffle [develop/compile/migrate/test]
If you do not want to use the default version of the colonyNetwork smart contracts defined by the colony-cli package, you can update the "deploy-contracts"
scripts property in your package.json
file to use a specific version. This can be a branch name, a commit hash, or a version tag.
"deploy-contracts": "colony service deploy-contracts --specific glider",
FAQs
A simple starter project for building with Colony
We found that @colony/colony-starter-contract demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.