You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
Repository navigation
Commit f73bc10
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: examples/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -273,4 +273,13 @@ When sending transactions, it can be useful to get an estimate of the gas requir
273
273
);
274
274
275
275
console.log(gas);
276
+
```
277
+
278
+
## Running an example
279
+
280
+
To run an example, you need to make the required changes to the code and use typescript compiler. You can use the following command to run the example. E.g. to run the `create_deployment.ts` example:
# This file is called a Stack Definition Laguage (SDL)
3
+
# SDL is a human friendly data standard for declaring deployment attributes.
4
+
# The SDL file is a "form" to request resources from the Network.
5
+
# SDL is compatible with the YAML standard and similar to Docker Compose files.
6
+
7
+
---
8
+
# Indicates version of Akash configuration file. Currently only "2.0" is accepted.
9
+
version: "2.0"
10
+
11
+
# The top-level services entry contains a map of workloads to be ran on the Akash deployment. Each key is a service name; values are a map containing the following keys:
# profiles.compute is map of named compute profiles. Each profile specifies compute resources to be leased for each service instance uses uses the profile.
# profiles.placement is map of named datacenter profiles. Each profile specifies required datacenter attributes and pricing configuration for each compute profile that will be used within the datacenter. It also specifies optional list of signatures of which tenants expects audit of datacenter attributes.
0 commit comments