Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darwinia-network/darwinia-messages-sol
Darwinia cross-chain messages gateway and protocol for EVM developers 💌
https://github.com/darwinia-network/darwinia-messages-sol
darwinia-bridge ethereum smart-contracts solidity
Last synced: about 3 hours ago
JSON representation
Darwinia cross-chain messages gateway and protocol for EVM developers 💌
- Host: GitHub
- URL: https://github.com/darwinia-network/darwinia-messages-sol
- Owner: darwinia-network
- License: mit
- Created: 2020-08-21T03:13:14.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T03:10:50.000Z (over 1 year ago)
- Last Synced: 2024-11-10T02:40:50.586Z (3 days ago)
- Topics: darwinia-bridge, ethereum, smart-contracts, solidity
- Language: Solidity
- Homepage:
- Size: 5.82 MB
- Stars: 30
- Watchers: 7
- Forks: 8
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Darwinia Bridge Solidity
## Packages
```
.
├── contracts
│  ├── bridge
│  ├── deprecated
│  ├── tokens
│  ├── utils
│  └── verify
└── packages
├── addresses
└── assets
```### Install dependencies
Make sure you are using Yarn v1.22.10. To install using brew:
```bash
brew install [email protected]
```Then install dependencies
```bash
yarn install
```### Environment variables (Optional)
`.env` example:
```bash
MAINNET_RPC_URL="https://eth-mainnet.alchemyapi.io/v2/your-api-key"
GOERLI_RPC_URL="https://eth-rinkeby.alchemyapi.io/v2/your-api-key"
PRIVATE_KEY=your private key
```### Build
To build all packages:
```bash
yarn build
```To build a specific package:
```bash
PKG=@darwinia/contracts-bridge yarn build
```To build all contracts packages:
```bash
yarn build:contracts
```### Clean
Clean all packages:
```bash
yarn clean
```Clean a specific package
```bash
PKG=@darwinia/contracts-bridge yarn clean
```### Rebuild
To re-build (clean & build) all packages:
```bash
yarn rebuild
```To re-build (clean & build) a specific package & it's deps:
```bash
PKG=@darwinia/contracts-bridge yarn rebuild
```