CdnWrite

Explains how to setup the smartcontract configuration using Seascape SDK.

CDN should be updated by the smartcontract developers. If you are going to read the smartcontract configuration, please skip this section.

In order to upload the smartcontract configuration onto the Seascape CDN, a developer has to have access to the Seascape CDN.

Prerequirement

In order to use CDN Write module, you should set the .env variable for truffle framework or hardhat framework.

ALIBABA_ACCESSID=
ALIBABA_SECRET=

You can host your own variant. For example the easiest way is to use Alicloud's OSS (Object Storage Service). Or extend the Seascape JS, to include AWS S3.

The following three pages describe how to update the Seascape using the Moonscape Smartcontracts. Since there are three ways to update the CDN.

Last updated

Was this helpful?