
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@melonproject/smart-contracts
Advanced tools
Melon ([méllō], μέλλω; Greek for "destined to be") is blockchain software that seeks to enable participants to set up, manage and invest in technology regulated investment funds in a way that reduces barriers to entry, while minimizing the requirements for trust.
It does so by leveraging the fact that digital assets on distributed quasi-Turing Complete machines can be held solely by smart-contract code, and spent only according to preprogrammed rules within this code. The Melon protocol is a set of rules for how digital assets can be spent once held in a Melon smart-contract, or a Melon investment fund. These rules are meant to protect the investor and fund manager from malevolent behaviour of each other, even when both parties remain private.
Melon is to investment funds as Bitcoin is to accounting: a set of rules, enforced by blockchain technology, legitimized by the consent of its participants.
This repository contains a reference implementation of the Melon protocol written in Solidity, as specified in our paper.
# Clone this repository
git clone git@github.com:melonproject/smart-contracts.git
cd smart-contracts
# Install dependencies
npm install
# Generate bytecode and abi of smart-contracts
npm run compile
After installation, go to the above protocol directory, open a terminal and:
# Launch parity dev chain:
npm run devchain
# Open a second terminal and deploy the contracts to the development network:
npm run deploy
# Run the tests using
npm test
After installation is complete, go to the above protocol directory, open a terminal and:
# Launch an ethereum client. For example something similar to this:
parity \
--chain kovan \
--rpcport 8545 \
--auto-update=all \
--jsonrpc-apis=all \
--author <address> \
--unlock <address> \
--password <password file>
# Open a second terminal and deploy the contracts:
npm run deploy:kovan
Try cloning using git clone https://github.com/melonproject/smart-contracts.git
Update your Parity installation to the latest version or try changing "instantSeal": null to "instantSeal": { "params": {} } in chainGenesis.json
Deploying contracts may stuck indefinitely in case your parity node is not unlocked for some reason. Locked node requires you to enter password for each transaciton manually.
As an open-source project, we welcome any kind of community involvement, whether that is by contributing code, reporting issues or engaging in insightful discussions. Please see our contributing instructions for information on the code style we use.
If you find a vulnerability that may affect live or testnet deployments please send your report privately to security@melonport.com. Please DO NOT file a public issue.
When considering protocol design proposals, we are looking for:
Please note that protocol design is hard, and meticulous work. You may need to review existing literature and think through generalized use cases.
When considering design proposals for implementations, we are looking for:
FAQs
Technology Regulated Investment Funds
The npm package @melonproject/smart-contracts receives a total of 184 weekly downloads. As such, @melonproject/smart-contracts popularity was classified as not popular.
We found that @melonproject/smart-contracts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.