typedContracts folder moved from tests/typedContracts to typedContract at project root, so that both tests and scripts can use them.
flipper typedContracts are scaffolded when a project is initialized, so that a sample script 00_deploy.ts can use for showcasing how to deploy contracts by using typedContracts (usually they're generated by swanky contract compile where typechain-polkadot get executed).
typechain-polkadot >= 1.0.0-beta doesn't need artifacts such as .contract & metadata .json externally. They're embedded in contract-info folder generated by typechain-polkadot command. So, no need for having raw artifacts both in tests and scripts.
Resolve https://github.com/AstarNetwork/swanky-cli/issues/144 & https://github.com/AstarNetwork/swanky-cli/issues/134
What were changed
swanky script run [SCRIPT_NAME]
added.typedContracts
folder moved fromtests/typedContracts
totypedContract
at project root, so that bothtests
andscripts
can use them.typedContracts
are scaffolded when a project is initialized, so that a sample script00_deploy.ts
can use for showcasing how to deploy contracts by using typedContracts (usually they're generated byswanky contract compile
where typechain-polkadot get executed).1.0.0-beta
doesn't need artifacts such as.contract
& metadata.json
externally. They're embedded incontract-info
folder generated by typechain-polkadot command. So, no need for having raw artifacts both intests
andscripts
.