All Projects → maticnetwork → Contracts

maticnetwork / Contracts

Licence: gpl-3.0
Smart contracts comprising the business logic of the Matic Network

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Contracts

Hanzo.js
🚀 Hanzo JavaScript SDK. Develop cutting-edge decentralized applications.
Stars: ✭ 128 (-1.54%)
Mutual labels:  blockchain, ethereum, cryptocurrencies
Unstoppable Wallet Ios
A secure and decentralized Bitcoin and other cryptocurrency wallet for iPhone. Supports Bitcoin, Ethereum, EOS, Binance Chain, Bitcoin Cash, DASH, ...
Stars: ✭ 180 (+38.46%)
Mutual labels:  blockchain, ethereum, dapps
Interledger Rs
An easy-to-use, high-performance Interledger implementation written in Rust
Stars: ✭ 155 (+19.23%)
Mutual labels:  blockchain, ethereum, payment
Mastering Ethereum
分散アプリケーションプラットフォーム「ethereum」の入門書
Stars: ✭ 165 (+26.92%)
Mutual labels:  blockchain, ethereum, dapps
Blockchain
Compilation of useful documents and scientific papers about Blockchain & cryptocurrencies.
Stars: ✭ 751 (+477.69%)
Mutual labels:  blockchain, ethereum, cryptocurrencies
Raiden
Raiden Network
Stars: ✭ 1,825 (+1303.85%)
Mutual labels:  blockchain, ethereum, payment
Trust Ray
☁️ API for the Trust Wallet. Project no longer supported and current version used as source of transactions and address tokens in Blockatlas https://github.com/trustwallet/blockatlas/blob/master/config.yml#L64
Stars: ✭ 172 (+32.31%)
Mutual labels:  blockchain, ethereum, dapps
Peatiocryptoexchange
An open-source Crypto-Currency exchange. Peatio v3.0 Coming Soon !
Stars: ✭ 141 (+8.46%)
Mutual labels:  blockchain, ethereum, cryptocurrencies
Hardhat
Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.
Stars: ✭ 727 (+459.23%)
Mutual labels:  blockchain, ethereum, dapps
Rotki
A portfolio tracking, analytics, accounting and tax reporting application that protects your privacy
Stars: ✭ 689 (+430%)
Mutual labels:  blockchain, ethereum, cryptocurrencies
Squeezer
Squeezer Framework - Build serverless dApps
Stars: ✭ 3,242 (+2393.85%)
Mutual labels:  blockchain, ethereum, dapps
Etherkit
Stars: ✭ 36 (-72.31%)
Mutual labels:  blockchain, ethereum, dapps
Ethereum book
精通以太坊 (中文版)
Stars: ✭ 875 (+573.08%)
Mutual labels:  blockchain, ethereum, dapps
Hashed Timelock Contract Ethereum
Hashed Timelock Contracts for ETH, ERC20 and ERC721 on Ethereum
Stars: ✭ 128 (-1.54%)
Mutual labels:  blockchain, ethereum, cryptocurrencies
Open Bounty
Enable communities to distribute funds to push their cause forward.
Stars: ✭ 121 (-6.92%)
Mutual labels:  blockchain, ethereum
Go Web3
Ethereum Go Client [obsolete]
Stars: ✭ 120 (-7.69%)
Mutual labels:  blockchain, ethereum
Typescript Solidity Dev Starter Kit
Starter kit for smart contract development using Typescript
Stars: ✭ 127 (-2.31%)
Mutual labels:  ethereum, dapps
Stocklook
crypto currency library for trading & market making bots, account management, and data analysis
Stars: ✭ 119 (-8.46%)
Mutual labels:  blockchain, ethereum
Remix Ide
Documentation for Remix IDE
Stars: ✭ 1,768 (+1260%)
Mutual labels:  blockchain, ethereum
Ion
General interoperability framework for trustless cross-system interaction
Stars: ✭ 122 (-6.15%)
Mutual labels:  blockchain, ethereum

Matic contracts

Build Status

Ethereum smart contracts that power the Matic Network.

Install dependencies with

npm install

Compile

bor-chain-id for Mainnet = 137 bor-chain-id for TestnetV4 (Mumbai) = 80001

npm run template:process -- --bor-chain-id <bor-chain-id>
npm run truffle:compile

Start main chain and side chain

  • Start Main chain
npm run testrpc
  • Start Matic side chain. Requires docker.
npm run bor:simulate
  • If you ran a bor instance before, a dead docker container might still be lying around, clean it with
npm run bor:clean
  • Run a bor (our matic chain node) instance.

Deploy Contracts

  • For local development
npm run truffle:migrate
  • For a properly initialized set of contracts, follow the instructions here.

Run tests

npm test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].