Skip to content

Commit 05cd51f

Browse files
Update programs and signing (#283)
* update index and programs to allow for new key type: programDeployKey create new programDevClass * types update (#280) * Jawn/GetSetRemovePrograms (#281) * types update * types * programs set, get, and remove with notes * move dev functions to new files * dev stuff * set get remove and add for user signer flow * new types * removed authorization, checked registered * documentation * register update * Frankie/dev and tests (#282) * wip: get programs dev working * updated yaml * update tests * catch program deploy * wip: getting programs to work * format programInfo * wip * programPointer -> pointer * fix registration * signing * include hash for sign * recompiled program * types and config. plus program changes --------- Co-authored-by: jawndiego <[email protected]> --------- Co-authored-by: Frankie <[email protected]> * fix for build * update changelog --------- Co-authored-by: jawn <[email protected]>
1 parent 9f15ff5 commit 05cd51f

37 files changed

+13431
-2054
lines changed

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 20.10.0

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ At the moment this project **does not** adhere to
99

1010
## [Unreleased]
1111

12+
### Added
13+
14+
- `entropy.programs.dev` is the new interface to deploying programs
15+
16+
### Changed
17+
18+
- register now takes a list of program pointers instead of a single program bytecode
19+
- programs class now only deals with registered account program pointers
20+
- deploying a program now happens under dev programs sub class
21+
- sign takes a hash function name defined by core protocol for hashing the signature
22+
1223
## [0.1.2] Amun - 2023-12-12 (entropy-core compatibility: 0.0.9)
1324

1425
### Added

docs/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ import Entropy from '@entropyxyz/entropy-js'
3131

3232
const entropyAccount: EntropyAccount = {
3333
sigRequestKey: signer,
34-
programModKey: signer
34+
programModKey: signer,
35+
programDeployKey: signer,
3536
}
3637

3738
entropy = new Entropy({ account: entropyAccount})

entropy-metadata.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)