bridge

package module
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 0 Imported by: 0

README

Madnet/Bridge

This repository contains all solidity smart contracts used by the MadNet.

Requirements

Dapp tools

To build and deploy the contracts, we use a command line tool called dapp tools. Check the official dapptools documentation for instructions on how to install it.

Note: You will need to install Nix in order to install the dapp tools.

HardHat

To install hardhat and all requirements to compile and test the smart contracts in this repository, run the following command at the root of this repository:

npm install

In addition to this, we also suggest the installation of the hardhat short hand extension:

npm i -g hardhat-shorthand
hardhat-completion install

Now to compile the contracts, run:

hh compile

To run the tests, TDA

Building and testing the smart contracts

To build the contracts run:

make all

To run all the tests:

make test

To clean the build artifacts, just run:

make clean

Useful Resources

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config() string

Config returns a useless string, but usefully it sets the package

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL