ConfigPath
interface was replaced byProjectPath
class.SmartcontractConfig
class was replaced bySmartcontractParams
class.- In the SeascapeCdnConfig files, the smartcontract type was renamed to smartcontract category.
ProjectParams
was replaced byProjectPath
class.
- Make the code object-oriented.
- remove
CdnRead
module. - remove all functions in
CdnWrite
module exceptsetSmartcontract
. - add
SeascapeCdnConfig
module. - add
SeascapeApiConfig
module. - add
SeascapeAbi
module. - the truffle framework and hardhat framework CDN configuration update set through a single
setSmartcontract
. - remove
ALIBABA_BUCKET
environment variable. - remove
ALIBABA_REGION
environment variable.
- Add the function to
cdnHost
as a preserved word. If the cdnHost is given, it will replace the default CDN host https://cdn.seascape.network
- Add the truffle framework companion that uploads the Smartcontract address and ABI file to the Seascape CDN.
- Add the hardhat framework companion that uploads the Smartcontract address and ABI file to the Seascape CDN.
- Add the module to read the ABI
- Add the module to write the ABI
- Add examples for all features.
- Add the
SmartcontractPath
interface. - Hardcode the CDN base URL into the source code and use the utility
ConfigPath
interface to create the URL. - The updating the CDN will use the
SmartcontractPath
.
- Add the optional parameter to CdnRead. If the optional parameter is set to true, then it allows to create an empty global variable.
- add
ALIBABA_REGION
- add
ALIBABA_ACCESSID
- add
ALIBABA_SECRET
- add
ALIBABA_BUCKET
- add the CDN writer
seascape.CdnWrite