Skip to content

Darwinia cross-chain messages gateway and protocol for EVM developers πŸ’Œ

License

Notifications You must be signed in to change notification settings

darwinia-network/darwinia-messages-sol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6f20950 Β· May 17, 2023
Mar 3, 2023
May 17, 2023
Apr 13, 2023
Apr 28, 2023
Dec 8, 2022
Jun 11, 2020
Mar 31, 2023
May 25, 2021
Dec 8, 2022
Dec 9, 2021
Dec 9, 2021
Jul 11, 2022
Jan 4, 2023

Repository files navigation

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:

brew install [email protected]

Then install dependencies

yarn install

Environment variables (Optional)

.env example:

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:

yarn build

To build a specific package:

PKG=@darwinia/contracts-bridge yarn build

To build all contracts packages:

yarn build:contracts

Clean

Clean all packages:

yarn clean

Clean a specific package

PKG=@darwinia/contracts-bridge yarn clean

Rebuild

To re-build (clean & build) all packages:

yarn rebuild

To re-build (clean & build) a specific package & it's deps:

PKG=@darwinia/contracts-bridge yarn rebuild