diff --git a/README.md b/README.md index 620e8b0..dd7d508 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,23 @@ # gnt2 The new incarnation of the Golem Network Token -After library update gnt2-migration-ui won't work +# gnt2-migration-ui -Go back to https://github.com/golemfactory/gnt2/tree/legacy to last working version with old node libraries - -Right now library is only used for Goth tests - -## System requirements - -1. [ `Node.js` ](https://nodejs.org/en/), suggested using [ `nvm` ](https://github.com/nvm-sh/nvm) -2. [ `yarn` ](https://classic.yarnpkg.com/en/) +It was gnt2 migration UI used for migrating token, no longer needed and not working right now -## Setup - -**Install dependencies** +Go back to https://github.com/golemfactory/gnt2/tree/legacy to last working version with old node libraries -``` console -yarn install --frozen-lockfile -``` +# gnt2-contracts -**Build** +Project for contract creation, compilation and testing -``` console -yarn build -``` +# gnt2-docker-yagna -**Run tests** +Docker image and script for running GOTH tests. +You can deploy contracts based scripts located there or using foundry directly from gnt2-contracts -``` console -yarn test -``` +## Setup -**Linter** +Check .github\workflows\main.yml for setup example -``` console -yarn lint -``` +Use foundry for testing, look at .github\workflows\foundry.yml for example diff --git a/gnt2-contracts/README.md b/gnt2-contracts/README.md deleted file mode 100644 index 9265b45..0000000 --- a/gnt2-contracts/README.md +++ /dev/null @@ -1,66 +0,0 @@ -## Foundry - -**Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.** - -Foundry consists of: - -- **Forge**: Ethereum testing framework (like Truffle, Hardhat and DappTools). -- **Cast**: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data. -- **Anvil**: Local Ethereum node, akin to Ganache, Hardhat Network. -- **Chisel**: Fast, utilitarian, and verbose solidity REPL. - -## Documentation - -https://book.getfoundry.sh/ - -## Usage - -### Build - -```shell -$ forge build -``` - -### Test - -```shell -$ forge test -``` - -### Format - -```shell -$ forge fmt -``` - -### Gas Snapshots - -```shell -$ forge snapshot -``` - -### Anvil - -```shell -$ anvil -``` - -### Deploy - -```shell -$ forge script script/Counter.s.sol:CounterScript --rpc-url --private-key -``` - -### Cast - -```shell -$ cast -``` - -### Help - -```shell -$ forge --help -$ anvil --help -$ cast --help -```