New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@4cadia/janus-indexer-smartcontract

Package Overview
Dependencies
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@4cadia/janus-indexer-smartcontract

This Smart Contract is assigned to provide instructions for the Front-end and the janusndxr to do the indexation of a content on the Janus Platform and to provide the information when asked to search for them.

0.3.0
latest
npm
Version published
Weekly downloads
0
-100%
Maintainers
4
Weekly downloads
 
Created
Source

Janus Indexer Smart Contrat

This Smart Contract is assigned to provide instructions for the Front-end and the janusndxr to do the indexation of a content on the Janus Platform and to provide the information when asked to search for them.


Prerequisites

  • truffle
  • ganache cli

Solidty: Is an object-oriented programming language for writing smart contracts. It is used for implementing smart contracts on various blockchain platforms, most notably, Ethereum.

Smart Contract: Is a computer protocol intended to digitally facilitate, verify, or enforce the negotiation or performance of a contract.

Truffle migrate (Deploy): Migrations are JavaScript files that help you deploy contracts to the Ethereum network. These files are responsible for staging your deployment tasks, and they're written under the assumption that your deployment needs will change over time. As your project evolves, you'll create new migration scripts to further this evolution on the blockchain.

Ganache-dev: Is a personal blockchain for Ethereum development you can use to deploy contracts, develop your applications, and run tests.

Truffle test: Is an automated testing framework to make testing your contracts a breeze. This framework lets you write simple and manageable tests in two different ways:

-In Javascript and TypeScript, for exercising your contracts from the outside world, just like your application.

-In Solidity, for exercising your contracts in advanced, bare-to-the-metal scenarios.

Postdeploy: Postdeploy is responsible for extracting build-generated information to create a contract.json file


Contributing

  • Fork it (https://github.com/4cadia/janus.webapp.indexer/fork)
  • Create your feature branch (git checkout -b feature/fooBar)
  • Commit your changes (git commit -am 'Add some fooBar')
  • Push to the branch (git push origin feature/fooBar)
  • Create a new Pull Request

FAQs

Package last updated on 28 Nov 2019

Did you know?

Socket

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.

Install

Related posts