mirror of
https://github.com/logos-storage/codex-factory.git
synced 2026-01-02 13:03:07 +00:00
* chore: add package.json and package.lock to the project * build: add truffle configuration for contract deployment * feat: init swarm contracts and define migration script * feat: init bash scripts that orchestrate docker containers * fix: change auto-mining to progressing blockchain in order to satisfy bee ts check * chore: add npm command definitions and downgrade openzeppelin for solc ^0.6.0 * build: set solc compiler configuration similar to the original swarm deployment * chore: generate bee keys until 5 nodes * refactor: import erc20 logic from openzeppelin and remove sw3 contract because cannot produce same bytecode * chore: add trimmed single-swap-factory bytecode (without token address param) * feat: deploy erc20 and single swap factory contracts that bee also accepts * feat: bee.sh and blockchain.sh * feat: add supply script to fund bee overlay addresses * docs: amend README * docs: fix bee start command * fix: bee.sh datadir path * docs: add network script to the usage description * fix: solc compiler truffle config
30 lines
555 B
JavaScript
30 lines
555 B
JavaScript
module.exports = {
|
|
|
|
networks: {
|
|
development: {
|
|
host: "127.0.0.1",
|
|
port: 9545,
|
|
network_id: "4020",
|
|
gasPrice: "10000000000", //10 gwei
|
|
}
|
|
},
|
|
|
|
compilers: {
|
|
solc: {
|
|
version: "0.6.12", // Fetch exact version from solc-bin (default: truffle's version)
|
|
docker: true,
|
|
settings: {
|
|
optimizer: {
|
|
enabled: true,
|
|
runs: 200 // Optimize for how many times you intend to run the code
|
|
},
|
|
evmVersion: "istanbul"
|
|
}
|
|
}
|
|
},
|
|
|
|
db: {
|
|
enabled: true
|
|
}
|
|
};
|