Skip to content

Commit

Permalink
Documentation and Examples (#14)
Browse files Browse the repository at this point in the history
* Update code

* Update flow.json

* Start api documentation

* Add example tests

* Remove spaces in getArrayType result

* Add method to completely remove all spaces in a string

* Export additional methods and arguments

* Add more tests and API documentation

* Replace default dependency

* Update templates

* Add fix for non existent folders

* Add test Cadence templates for generator

* Add generator tests

* Regenerate templates

* Add documentation for Prettier and generator related methods

* Reformat headers. refactor method description

* Update environment logic. add setEnvironment method

* Add env tests

* Export additional methods

* Add docs for environment methods

* Ad aliases

* Add transaction documentation

* Fix dev tests

* Refactor for seal status

* Update handlebars templates to default interaction props to empty object
  • Loading branch information
Maksim Daunarovich authored Sep 20, 2021
1 parent 57cfe79 commit 340e73d
Show file tree
Hide file tree
Showing 19 changed files with 1,640 additions and 897 deletions.
2 changes: 1 addition & 1 deletion dev-test/flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"accounts": {
"emulator-account": {
"address": "f8d6e0586b0a20c7",
"keys": "2594485368239971d66c1017f887e7265609d8a568cd6271b7626f5f14d0c2b4"
"key": "2594485368239971d66c1017f887e7265609d8a568cd6271b7626f5f14d0c2b4"
}
},
"deployments": {}
Expand Down
2 changes: 1 addition & 1 deletion dev-test/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const set = (key, env, conf, fallback) => {
};

export const init = () => {
set("PRIVATE_KEY", process.env.PK, "accounts/emulator-account/keys");
set("PRIVATE_KEY", process.env.PK, "accounts/emulator-account/key");
set(
"SERVICE_ADDRESS",
process.env.SERVICE_ADDRESS,
Expand Down
Loading

0 comments on commit 340e73d

Please sign in to comment.