near / near-workspaces-js

Write tests once, run them both on NEAR TestNet and a controlled NEAR Sandbox local environment
https://near.github.io/near-workspaces-js/
GNU General Public License v3.0
42 stars 22 forks source link

Add UserTransaction Class #21

Closed willemneal closed 3 years ago

willemneal commented 3 years ago

This would help make it easier to create a batch transaction. E.g.

let transaction = bob.newTransaction("alice.bob.test");
transaction.create().send(toYocto("1")).
let res = await transaction.submit();