Seascape Network
EN
EN
  • Welcome to Seascape
  • Guides
    • How to use the Scape Store Swapping Feature
    • How to Play Profit Circus
    • Guide to NFT Brawl
    • Guide to Staking Saloon
    • Guide to Scape Forum
    • Guide to Zombie Farm
    • Bridge Your MSCP between MOVR and BSC
    • Guide to join the pCWS Pools and NFT Trading
  • SMARTCONTRACTS
    • Addresses
      • Lighthouse
      • Changelog
    • Installation
    • Seascape NFT (SCAPES)
    • Crowns (CWS) token
  • Game for Developers
    • API Urls
    • Seascape Nft
    • Game 2: NFT BRAWL
      • Leaderboard
    • Game 5: Zombie Farm
      • Glossary
      • Reward categories
      • Option categories
      • API call order
  • Scape Store (Marketplace)
    • Config
    • Nft Swap
    • RPC backend
    • Smartcontract Changelog
  • API changelog
  • Seadex
    • Intro
    • Local deployment
    • Addresses
    • Managing Token
      • Add supported token to Factory
  • Lighthouse (IDO)
    • API
    • Smartcontrontracts
      • Tiers
    • Installation
  • Seascape SDK
    • Intro
    • Installation
    • Features
      • Shared Smartcontract Parameters
        • Configuration Format
        • Seascape CDN Config
        • CdnWrite
          • Truffle Framework
          • Hardhat Framework
          • Non-framework update
        • CDN Read
      • Server Proof
        • Smartcontract Data
        • Proof of Server
Powered by GitBook
On this page

Was this helpful?

  1. Seascape SDK
  2. Features
  3. Shared Smartcontract Parameters

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.

In the future version we will turn it into the backend, so that anyone can set the Seascape CDN.

Note, that the CDN Write recommended to be used in the Smartcontract frameworks.

Currently, Seascape SDK supports truffle and hardhat framework as well as the custom configuration tool, to upload without any framework. The latter version is not recommended.

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.

If you integrate it with the Filecoin, Sia or IPFS, please let me know via email `admin @ blocklords.io`. I would be happy to have a call with you to discuss your vision on decentralization.dsds

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

PreviousSeascape CDN ConfigNextTruffle Framework

Last updated 2 years ago

Was this helpful?