Skip to content

AlisProject/private-chain-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

Private chain contracts

Contracts for the ALIS PoA Private chain.

Prerequisite

  • node.js
    • See: .node-version
  • yarn

Environment valuables

# An ETH address to operate private chain.
export PRIVATE_CHAIN_ALIS_TOKEN_ADDRESS=0x1383b25f9ba231e3a1a1e45c0b5689xxxxxxxxx

Usage

  1. git clone https://github.com/AlisProject/private-chain-contracts.git
  2. cd private-chain-contracts
  3. yarn
  4. yarn truffle install

Test

  • yarn test:all

Run single test

  • yarn test ./test/alis_token.js

Debug

  • yarn debug
    • You can use debugger; function of node.

Linting

  • yarn lint

Deployment

You should adjust gas and gasPrice at truffle.js.

Private net & Test net

  • yarn deploy

Main net

  • truffle deploy --network live

License

About

👻The contracts for the ALIS Private chain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •