diff --git a/convex-core/src/main/cvx/asset/spatial.cvx b/convex-core/src/main/cvx/asset/spatial.cvx new file mode 100644 index 000000000..784751dbb --- /dev/null +++ b/convex-core/src/main/cvx/asset/spatial.cvx @@ -0,0 +1,9 @@ +'asset.spatial + +;; Spatial tokens + +(defn build [options] + (let [end (blob (or (:end options) 0x010000000000000000))] + [ + `(def supply (index ~start ~end)) + ])) \ No newline at end of file diff --git a/convex-core/src/main/java/convex/core/init/Init.java b/convex-core/src/main/java/convex/core/init/Init.java index 877850840..92828ffc1 100644 --- a/convex-core/src/main/java/convex/core/init/Init.java +++ b/convex-core/src/main/java/convex/core/init/Init.java @@ -304,6 +304,7 @@ private static State addStandardLibraries(State s) { s = doActorDeploy(s, "convex/trust/whitelist.cvx"); s = doActorDeploy(s, "convex/trust/monitors.cvx"); s = doActorDeploy(s, "convex/governance.cvx"); + s = doActorDeploy(s, "asset/spatial.cvx"); // s = doActorDeploy(s, "convex/user.cvx"); return s; }