Quick Guide
Here’s a quick guide to get you from zero to hero. This doc provides a guide to the following ideas:
-
Greenfield & Programmability concepts
-
Understand what you need to build your project
-
Access resources to get you started
Greenfield & Programmability Concepts¶
Greenfield 101¶
Read Greenfield Overview here
Uniform Address Format¶
Greenfield defines its account in the same format as BSC and Ethereum. It starts with ECDSA secp256k1 curve for keys and is compliant with EIP84 for full BIP44 paths.
Account Operation¶
Create a greenfield account, deposit BNB, and program token transfers.
Data storage¶
Create a public bucket to upload and share objects.
- Greenfield CLI Example
- GO-SDK Example 1 and GO-SDK Example 2
- JS-SDK Bucket API and JS-SDK Object API
Permission control¶
Create a private bucket and share it with specific individuals.
Enhanced permission control¶
-
Create a group, add members, and share the private bucket.
-
Resource management with smart contracts: Understand the concepts of resource mirroring
Cross-chain Programmability¶
- Understand the programmability concepts
- Understand mirror resource from Greenfield to EVM chains
- Understand program resource through Smart Contract
- Follow Smart Contract SDK tutorial
- Showcase: Data Marketplace
Developer Starter Kit¶
API¶
SDK¶
- Greenfield Go SDK, more details refer to Go SDK Docs.
- Greenfield Javascript SDK, more details refer to JS SDK Docs.
Setup¶
- Key management
- Transfer between greenfield address
- Token bridge
Developer Resource¶
-
Explore datasets with explorer or dcellar.io
-
Data Marketplace boilerplate